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
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
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
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