#42052E#42052E
#42052E is a dark, moderate pink. Relative luminance 0.015; OKLCH L 25.8% C 0.101 H 345.4°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).
Color values
| HEX | #42052E |
|---|---|
| RGB | rgb(66, 5, 46) |
| HSL | hsl(320, 86%, 14%) |
| HSV | hsv(320, 92%, 26%) |
| CMYK | cmyk(0%, 92.4%, 30.3%, 74.1%) |
| CIE-LAB | lab(12.38, 31.99, -9.53) |
| CIE-LCH | lch(12.38, 33.38, 343.41°) |
| OKLab | oklab(25.81% 0.0973 -0.0254) |
| OKLCH | oklch(25.81% 0.101 345.4) |
| XYZ | xyz(2.7943, 1.4644, 2.7197) |
| Luminance | 0.0146 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Plum
#3F012C
ΔE00 0.98
Aubergine
#3D0734
ΔE00 3.09
Eggplant
#380835
ΔE00 4.65
Plum (survey)
#580F41
ΔE00 5.09
Eggplant Purple
#430541
ΔE00 5.97
Deep Violet
#490648
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42052E #054219
analogous
#380542 #42052E #420510
triadic
#42052E #2E4205 #052E42
tetradic
#42052E #423805 #054219 #051042
square
#42052E #423805 #054219 #051042
split-complementary
#42052E #104205 #054238
monochromatic
#1C0214 #1C0214 #42052E #7B0956 #B40E7D
Accessibility & contrast
On white
16.24
#42052E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.29
#42052E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42052E
16.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42052E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42052E | 1.00 | 16.24 | 1.29 | 16.24 |
| #FFFFFF | 16.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E1A2F
Deuteranopia (green-blind)
#21242D
Tritanopia (blue-blind)
#470419
Achromatopsia (no color)
#202020
Design tokens & code
CSS
--color: #42052e; /* rgb */ color: rgb(66, 5, 46); /* oklch */ color: oklch(25.8% 0.101 345.4);
Tailwind
colors: {
custom: {
50: '#794e66',
500: '#42052e',
950: '#000000',
},
}SCSS
$custom: #42052e; $custom-light: #794e66; $custom-dark: #000000;
JSON
{
"hex": "#42052e",
"rgb": {
"r": 66,
"g": 5,
"b": 46
},
"hsl": {
"h": 319.672,
"s": 85.915,
"l": 13.922
},
"oklch": {
"l": 0.25805,
"c": 0.10056,
"h": 345.4
},
"luminance": 0.01464
}Semantic roles & 50–950 ramp
primary
#42052E
secondary
#208241
accent
#FC702C
background
#F7F4F6
surface
#EEE7EB
border
#C9C3C6
text
#090206
muted
#7B787A