#42071F#42071F
#42071F is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.3% C 0.090 H 2.0°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).
Color values
| HEX | #42071F |
|---|---|
| RGB | rgb(66, 7, 31) |
| HSL | hsl(336, 81%, 14%) |
| HSV | hsv(336, 89%, 26%) |
| CMYK | cmyk(0%, 89.4%, 53%, 74.1%) |
| CIE-LAB | lab(12.02, 29.30, 1.09) |
| CIE-LCH | lch(12.02, 29.32, 2.14°) |
| OKLab | oklab(25.33% 0.09 0.0031) |
| OKLCH | oklch(25.33% 0.09 2) |
| XYZ | xyz(2.5703, 1.4095, 1.4328) |
| Luminance | 0.0141 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Maroon
#3C0008
ΔE00 6.50
Dark Plum
#3F012C
ΔE00 6.68
Burgundy (survey)
#610023
ΔE00 7.41
Maroon (survey)
#650021
ΔE00 8.80
Aubergine
#3D0734
ΔE00 9.08
Plum (survey)
#580F41
ΔE00 9.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42071F #07422A
analogous
#42073D #42071F #420C07
triadic
#42071F #1F4207 #071F42
tetradic
#42071F #3D4207 #07422A #0C0742
square
#42071F #3D4207 #07422A #0C0742
split-complementary
#42071F #07420C #073D42
monochromatic
#1C030D #1C030D #42071F #790D39 #B11353
Accessibility & contrast
On white
16.38
#42071F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.28
#42071F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42071F
16.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42071F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42071F | 1.00 | 16.38 | 1.28 | 16.38 |
| #FFFFFF | 16.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#151820
Deuteranopia (green-blind)
#25241E
Tritanopia (blue-blind)
#490012
Achromatopsia (no color)
#202020
Design tokens & code
CSS
--color: #42071f; /* rgb */ color: rgb(66, 7, 31); /* oklch */ color: oklch(25.3% 0.090 2.0);
Tailwind
colors: {
custom: {
50: '#7a4e5a',
500: '#42071f',
950: '#000000',
},
}SCSS
$custom: #42071f; $custom-light: #7a4e5a; $custom-dark: #000000;
JSON
{
"hex": "#42071f",
"rgb": {
"r": 66,
"g": 7,
"b": 31
},
"hsl": {
"h": 335.593,
"s": 80.822,
"l": 14.314
},
"oklch": {
"l": 0.25333,
"c": 0.09,
"h": 2
},
"luminance": 0.01409
}Semantic roles & 50–950 ramp
primary
#42071F
secondary
#24815B
accent
#F7A631
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#0A0203
muted
#7C7878