#42112E#42112E
#42112E is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.1% C 0.084 H 347.6°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).
Color values
| HEX | #42112E |
|---|---|
| RGB | rgb(66, 17, 46) |
| HSL | hsl(324, 59%, 16%) |
| HSV | hsv(324, 74%, 26%) |
| CMYK | cmyk(0%, 74.2%, 30.3%, 74.1%) |
| CIE-LAB | lab(14.15, 26.99, -6.82) |
| CIE-LCH | lch(14.15, 27.83, 345.82°) |
| OKLab | oklab(27.1% 0.0818 -0.0179) |
| OKLCH | oklch(27.1% 0.084 347.6) |
| XYZ | xyz(2.9405, 1.7567, 2.7685) |
| Luminance | 0.0176 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Plum
#3F012C
ΔE00 3.52
Aubergine
#3D0734
ΔE00 4.70
Plum (survey)
#580F41
ΔE00 5.86
Eggplant
#380835
ΔE00 5.93
Eggplant Purple
#430541
ΔE00 7.68
Deep Violet
#490648
ΔE00 8.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42112E #114225
analogous
#3E1142 #42112E #421116
triadic
#42112E #2E4211 #112E42
tetradic
#42112E #423E11 #114225 #111642
square
#42112E #423E11 #114225 #111642
split-complementary
#42112E #164211 #11423E
monochromatic
#180611 #180611 #42112E #731E50 #A32A72
Accessibility & contrast
On white
15.54
#42112E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.35
#42112E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42112E
15.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42112E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42112E | 1.00 | 15.54 | 1.35 | 15.54 |
| #FFFFFF | 15.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#171F2F
Deuteranopia (green-blind)
#25272D
Tritanopia (blue-blind)
#47101D
Achromatopsia (no color)
#242424
Design tokens & code
CSS
--color: #42112e; /* rgb */ color: rgb(66, 17, 46); /* oklch */ color: oklch(27.1% 0.084 347.6);
Tailwind
colors: {
custom: {
50: '#795366',
500: '#42112e',
950: '#000000',
},
}SCSS
$custom: #42112e; $custom-light: #795366; $custom-dark: #000000;
JSON
{
"hex": "#42112e",
"rgb": {
"r": 66,
"g": 17,
"b": 46
},
"hsl": {
"h": 324.49,
"s": 59.036,
"l": 16.275
},
"oklch": {
"l": 0.27098,
"c": 0.08372,
"h": 347.6
},
"luminance": 0.01756
}Semantic roles & 50–950 ramp
primary
#42112E
secondary
#337C51
accent
#E28646
background
#F7F4F6
surface
#EEE7EB
border
#C9C3C6
text
#090306
muted
#7B787A