#42072E#42072E
#42072E is a dark, moderate pink. Relative luminance 0.015; OKLCH L 26.0% C 0.098 H 345.7°. Best body text is #FFFFFF at 16.14:1 contrast (WCAG AA passes).
Color values
| HEX | #42072E |
|---|---|
| RGB | rgb(66, 7, 46) |
| HSL | hsl(320, 81%, 14%) |
| HSV | hsv(320, 89%, 26%) |
| CMYK | cmyk(0%, 89.4%, 30.3%, 74.1%) |
| CIE-LAB | lab(12.66, 31.19, -9.11) |
| CIE-LCH | lch(12.66, 32.49, 343.73°) |
| OKLab | oklab(26.01% 0.0948 -0.0242) |
| OKLCH | oklch(26.01% 0.098 345.7) |
| XYZ | xyz(2.8160, 1.5078, 2.7270) |
| Luminance | 0.0151 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Plum
#3F012C
ΔE00 1.32
Aubergine
#3D0734
ΔE00 3.24
Eggplant
#380835
ΔE00 4.77
Plum (survey)
#580F41
ΔE00 5.12
Eggplant Purple
#430541
ΔE00 6.18
Deep Violet
#490648
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42072E #07421B
analogous
#390742 #42072E #420711
triadic
#42072E #2E4207 #072E42
tetradic
#42072E #423907 #07421B #071142
square
#42072E #423907 #07421B #071142
split-complementary
#42072E #114207 #074239
monochromatic
#1C0313 #1C0313 #42072E #790D55 #B1137B
Accessibility & contrast
On white
16.14
#42072E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.30
#42072E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42072E
16.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42072E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42072E | 1.00 | 16.14 | 1.30 | 16.14 |
| #FFFFFF | 16.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F1A2F
Deuteranopia (green-blind)
#22242D
Tritanopia (blue-blind)
#47061A
Achromatopsia (no color)
#212121
Design tokens & code
CSS
--color: #42072e; /* rgb */ color: rgb(66, 7, 46); /* oklch */ color: oklch(26.0% 0.098 345.7);
Tailwind
colors: {
custom: {
50: '#794f66',
500: '#42072e',
950: '#000000',
},
}SCSS
$custom: #42072e; $custom-light: #794f66; $custom-dark: #000000;
JSON
{
"hex": "#42072e",
"rgb": {
"r": 66,
"g": 7,
"b": 46
},
"hsl": {
"h": 320.339,
"s": 80.822,
"l": 14.314
},
"oklch": {
"l": 0.26005,
"c": 0.09786,
"h": 345.7
},
"luminance": 0.01507
}Semantic roles & 50–950 ramp
primary
#42072E
secondary
#248143
accent
#F77431
background
#F7F4F6
surface
#EEE7EB
border
#C9C3C6
text
#090206
muted
#7B787A