Recognised as Colour
#40212F
- #40212F
- Red
- Dark
- Nearest: Black
#40212F is a red with RGB values 64, 33, 47 and HSL 333°, 32%, 19%. It is a dark colour, so white text on it reaches 14.2:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#40212F#40212F
HEX#40212F
RGBrgb(64, 33, 47)
RGB (0–1)0.251, 0.1294, 0.1843
RGB percentages25.1%, 12.9%, 18.4%
HSLhsl(332.9, 32%, 19%)
HSV / HSBhsv(332.9, 48.4%, 25.1%)
CMYK0%, 48.4%, 26.6%, 74.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,202,799
CSS custom property--colour: #40212F;
Brightness & contrast
Relative luminance0.02383WCAG 2.x, 0 is black and 1 is white
Perceived brightness46 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.22:1
Contrast with white14.22:1WCAG normal text: AAA
Contrast with black1.48:1WCAG normal text: Fail
Greyscale equivalent#292929
Inverted#BFDED0
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text14.22:1WCAG large text: AAA
Contrast with black, large text1.48:1WCAG large text: Fail
Named colours
Hue familyred
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#214032
Analogous#40213F, #402221
Triadic#2F4021, #212F40
Split complementary#214022, #213F40
Tetradic#3F4021, #214032, #222140
Tints, shades & saturation
Channel breakdown
R64
G33
B47
Red64 (25.1%)
Green33 (12.9%)
Blue47 (18.4%)
Hue332.9°
Saturation (HSL)31.96%
Lightness19.02%
Dominant channelRed
Hex per channelR 40 · G 21 · B 2F
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page