Nerdulator> put something in

Recognised as Colour

#40020C

  • #40020C
  • Red
  • Dark
  • Nearest: Black

#40020C is a red with RGB values 64, 2, 12 and HSL 350°, 94%, 13%. It is a dark colour, so white text on it reaches 17:1 contrast (AAA for normal text). The nearest named colour is Black.

Colour values

#40020C#40020C
HEX#40020C
RGBrgb(64, 2, 12)
RGB (0–1)0.251, 0.0078, 0.0471
RGB percentages25.1%, 0.8%, 4.7%
HSLhsl(350.3, 93.9%, 12.9%)
HSV / HSBhsv(350.3, 96.9%, 25.1%)
CMYK0%, 96.9%, 81.2%, 74.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,194,828
CSS custom property--colour: #40020C;

Brightness & contrast

Relative luminance0.0116WCAG 2.x, 0 is black and 1 is white
Perceived brightness35.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.05:1
Contrast with white17.05:1WCAG normal text: AAA
Contrast with black1.23:1WCAG normal text: Fail
Greyscale equivalent#101010
Inverted#BFFDF3

Colour vision & accessibility

Protanopia#15130Cno red cones; affects about 1% of men; ΔE 31 from the original
Deuteranopia#25210Ano green cones; the most common form, about 1% of men; ΔE 31.6 from the original
Tritanopia#470006no blue cones; rare, and affects men and women equally; ΔE 5.6 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text17.05:1WCAG large text: AAA
Contrast with black, large text1.23:1WCAG large text: Fail

Named colours

Nearest named CSS colourBlack (#000000)ΔE 33.05, a distinctly different colour
Hue familyred
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#024036
Analogous#40022B, #401702
Triadic#0C4002, #020C40
Split complementary#024017, #022B40
Tetradic#2B4002, #024036, #170240

Tints, shades & saturation

Lighter +40%#F8163B
Lighter +30%#D40728
Lighter +20%#A3051F
Lighter +10%#710415
Darker −10%#0F0003
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#42000B
Less saturated −25%#380A12

Channel breakdown

R64
G2
B12
Red64 (25.1%)
Green2 (0.8%)
Blue12 (4.7%)
Hue350.32°
Saturation (HSL)93.94%
Lightness12.94%
Dominant channelRed
Hex per channelR 40 · G 02 · B 0C

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 “40020c” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.