#42122F#42122F
#42122F is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.3% C 0.083 H 346.7°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).
Color values
| HEX | #42122F |
|---|---|
| RGB | rgb(66, 18, 47) |
| HSL | hsl(324, 57%, 16%) |
| HSV | hsv(324, 73%, 26%) |
| CMYK | cmyk(0%, 72.7%, 28.8%, 74.1%) |
| CIE-LAB | lab(14.38, 26.65, -7.20) |
| CIE-LCH | lch(14.38, 27.60, 344.88°) |
| OKLab | oklab(27.28% 0.0806 -0.019) |
| OKLCH | oklch(27.28% 0.083 346.7) |
| XYZ | xyz(2.9763, 1.7964, 2.8788) |
| Luminance | 0.0180 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Plum
#3F012C
ΔE00 3.62
Aubergine
#3D0734
ΔE00 4.58
Eggplant
#380835
ΔE00 5.77
Plum (survey)
#580F41
ΔE00 5.80
Eggplant Purple
#430541
ΔE00 7.52
Deep Violet
#490648
ΔE00 8.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42122F #124225
analogous
#3D1242 #42122F #421217
triadic
#42122F #2F4212 #122F42
tetradic
#42122F #423D12 #124225 #121742
square
#42122F #423D12 #124225 #121742
split-complementary
#42122F #174212 #12423D
monochromatic
#180711 #180711 #42122F #721F51 #A22C73
Accessibility & contrast
On white
15.45
#42122F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.36
#42122F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42122F
15.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42122F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42122F | 1.00 | 15.45 | 1.36 | 15.45 |
| #FFFFFF | 15.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#171F30
Deuteranopia (green-blind)
#25272E
Tritanopia (blue-blind)
#47111E
Achromatopsia (no color)
#242424
Design tokens & code
CSS
--color: #42122f; /* rgb */ color: rgb(66, 18, 47); /* oklch */ color: oklch(27.3% 0.083 346.7);
Tailwind
colors: {
custom: {
50: '#795467',
500: '#42122f',
950: '#000000',
},
}SCSS
$custom: #42122f; $custom-light: #795467; $custom-dark: #000000;
JSON
{
"hex": "#42122f",
"rgb": {
"r": 66,
"g": 18,
"b": 47
},
"hsl": {
"h": 323.75,
"s": 57.143,
"l": 16.471
},
"oklch": {
"l": 0.27279,
"c": 0.08276,
"h": 346.7
},
"luminance": 0.01796
}Semantic roles & 50–950 ramp
primary
#42122F
secondary
#357B51
accent
#E08447
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090306
muted
#7B787A