Nerdulator> put something in

Recognised as Colour

#402A2A

  • #402A2A
  • Red
  • Dark
  • Nearest: Black

#402A2A is a red with RGB values 64, 42, 42 and HSL 0°, 21%, 21%. It is a dark colour, so white text on it reaches 13.3:1 contrast (AAA for normal text). The nearest named colour is Black.

Colour values

#402A2A#402A2A
HEX#402A2A
RGBrgb(64, 42, 42)
RGB (0–1)0.251, 0.1647, 0.1647
RGB percentages25.1%, 16.5%, 16.5%
HSLhsl(0, 20.8%, 20.8%)
HSV / HSBhsv(0, 34.4%, 25.1%)
CMYK0%, 34.4%, 34.4%, 74.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,205,098
CSS custom property--colour: #402A2A;

Brightness & contrast

Relative luminance0.02913WCAG 2.x, 0 is black and 1 is white
Perceived brightness49.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.27:1
Contrast with white13.27:1WCAG normal text: AAA
Contrast with black1.58:1WCAG normal text: Fail
Greyscale equivalent#2F2F2F
Inverted#BFD5D5

Colour vision & accessibility

Protanopia#2E2D2Ano red cones; affects about 1% of men; ΔE 10.8 from the original
Deuteranopia#33312Ano green cones; the most common form, about 1% of men; ΔE 10.9 from the original
Tritanopia#44282Ano blue cones; rare, and affects men and women equally; ΔE 3.2 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text13.27:1WCAG large text: AAA
Contrast with black, large text1.58:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#2A4040
Analogous#402A35, #40352A
Triadic#2A402A, #2A2A40
Split complementary#2A4035, #2A3540
Tetradic#35402A, #2A4040, #352A40

Tints, shades & saturation

Lighter +40%#B08686
Lighter +30%#9C6767
Lighter +20%#7E5252
Lighter +10%#5F3E3E
Darker −10%#211616
Darker −20%#020202
Darker −30%#000000
Darker −40%#000000
More saturated +25%#4D1D1D
Less saturated −25%#353535

Channel breakdown

R64
G42
B42
Red64 (25.1%)
Green42 (16.5%)
Blue42 (16.5%)
Hue0°
Saturation (HSL)20.75%
Lightness20.78%
Dominant channelRed
Hex per channelR 40 · G 2A · B 2A

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