Nerdulator> put something in

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

Protanopia#24272Fno red cones; affects about 1% of men; ΔE 16.6 from the original
Deuteranopia#2C2D2Eno green cones; the most common form, about 1% of men; ΔE 17.4 from the original
Tritanopia#442026no blue cones; rare, and affects men and women equally; ΔE 6.7 from the original
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

Nearest named CSS colourBlack (#000000)ΔE 24.52, a distinctly different colour
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

Lighter +40%#B87593
Lighter +30%#A55579
Lighter +20%#834460
Lighter +10%#623248
Darker −10%#1E1016
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#4C152E
Less saturated −25%#342D30

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

Every value on this page was computed from “40212f” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.