#42072F#42072F
#42072F is a dark, moderate pink. Relative luminance 0.015; OKLCH L 26.1% C 0.099 H 344.7°. Best body text is #FFFFFF at 16.12:1 contrast (WCAG AA passes).
Color values
| HEX | #42072F |
|---|---|
| RGB | rgb(66, 7, 47) |
| HSL | hsl(319, 81%, 14%) |
| HSV | hsv(319, 89%, 26%) |
| CMYK | cmyk(0%, 89.4%, 28.8%, 74.1%) |
| CIE-LAB | lab(12.71, 31.34, -9.76) |
| CIE-LCH | lch(12.71, 32.82, 342.70°) |
| OKLab | oklab(26.06% 0.095 -0.026) |
| OKLCH | oklch(26.06% 0.099 344.7) |
| XYZ | xyz(2.8360, 1.5158, 2.8320) |
| Luminance | 0.0152 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Plum
#3F012C
ΔE00 1.23
Aubergine
#3D0734
ΔE00 2.90
Eggplant
#380835
ΔE00 4.45
Plum (survey)
#580F41
ΔE00 5.00
Eggplant Purple
#430541
ΔE00 5.82
Deep Violet
#490648
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42072F #07421A
analogous
#380742 #42072F #420712
triadic
#42072F #2F4207 #072F42
tetradic
#42072F #423807 #07421A #071242
square
#42072F #423807 #07421A #071242
split-complementary
#42072F #124207 #074238
monochromatic
#1C0314 #1C0314 #42072F #790D56 #B1137E
Accessibility & contrast
On white
16.12
#42072F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.30
#42072F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42072F
16.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42072F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42072F | 1.00 | 16.12 | 1.30 | 16.12 |
| #FFFFFF | 16.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F1B30
Deuteranopia (green-blind)
#21242E
Tritanopia (blue-blind)
#47061A
Achromatopsia (no color)
#212121
Design tokens & code
CSS
--color: #42072f; /* rgb */ color: rgb(66, 7, 47); /* oklch */ color: oklch(26.1% 0.099 344.7);
Tailwind
colors: {
custom: {
50: '#794f67',
500: '#42072f',
950: '#000000',
},
}SCSS
$custom: #42072f; $custom-light: #794f67; $custom-dark: #000000;
JSON
{
"hex": "#42072f",
"rgb": {
"r": 66,
"g": 7,
"b": 47
},
"hsl": {
"h": 319.322,
"s": 80.822,
"l": 14.314
},
"oklch": {
"l": 0.26058,
"c": 0.09854,
"h": 344.7
},
"luminance": 0.01515
}Semantic roles & 50–950 ramp
primary
#42072F
secondary
#248142
accent
#F77131
background
#F7F4F6
surface
#EEE7EB
border
#C9C3C6
text
#090206
muted
#7B787A