#420717#420717
#420717 is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.1% C 0.088 H 11.1°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).
Color values
| HEX | #420717 |
|---|---|
| RGB | rgb(66, 7, 23) |
| HSL | hsl(344, 81%, 14%) |
| HSV | hsv(344, 89%, 26%) |
| CMYK | cmyk(0%, 89.4%, 65.2%, 74.1%) |
| CIE-LAB | lab(11.77, 28.54, 6.78) |
| CIE-LCH | lch(11.77, 29.34, 13.37°) |
| OKLab | oklab(25.07% 0.0864 0.0169) |
| OKLCH | oklch(25.07% 0.088 11.1) |
| XYZ | xyz(2.4776, 1.3724, 0.9449) |
| Luminance | 0.0137 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Maroon
#3C0008
ΔE00 3.11
Deep Brown
#410200
ΔE00 6.17
Burgundy (survey)
#610023
ΔE00 6.64
Maroon (survey)
#650021
ΔE00 7.45
Dried Blood
#4B0101
ΔE00 7.73
Mahogany
#4A0100
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#420717 #074232
analogous
#420735 #420717 #421507
triadic
#420717 #174207 #071742
tetradic
#420717 #354207 #074232 #150742
square
#420717 #354207 #074232 #150742
split-complementary
#420717 #074215 #073542
monochromatic
#1C030A #1C030A #420717 #790D2A #B1133E
Accessibility & contrast
On white
16.48
#420717 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.27
#420717 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #420717
16.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##420717 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##420717 | 1.00 | 16.48 | 1.27 | 16.48 |
| #FFFFFF | 16.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#171717
Deuteranopia (green-blind)
#272315
Tritanopia (blue-blind)
#49000E
Achromatopsia (no color)
#1F1F1F
Design tokens & code
CSS
--color: #420717; /* rgb */ color: rgb(66, 7, 23); /* oklch */ color: oklch(25.1% 0.088 11.1);
Tailwind
colors: {
custom: {
50: '#7b4e53',
500: '#420717',
950: '#000000',
},
}SCSS
$custom: #420717; $custom-light: #7b4e53; $custom-dark: #000000;
JSON
{
"hex": "#420717",
"rgb": {
"r": 66,
"g": 7,
"b": 23
},
"hsl": {
"h": 343.729,
"s": 80.822,
"l": 14.314
},
"oklch": {
"l": 0.2507,
"c": 0.08805,
"h": 11.1
},
"luminance": 0.01372
}Semantic roles & 50–950 ramp
primary
#420717
secondary
#248168
accent
#F7C131
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0202
muted
#7C7878