#42112C#42112C
#42112C is a dark, moderate pink. Relative luminance 0.017; OKLCH L 27.0% C 0.082 H 350.0°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).
Color values
| HEX | #42112C |
|---|---|
| RGB | rgb(66, 17, 44) |
| HSL | hsl(327, 59%, 16%) |
| HSV | hsv(327, 74%, 26%) |
| CMYK | cmyk(0%, 74.2%, 33.3%, 74.1%) |
| CIE-LAB | lab(14.07, 26.68, -5.50) |
| CIE-LCH | lch(14.07, 27.24, 348.35°) |
| OKLab | oklab(27% 0.0812 -0.0143) |
| OKLCH | oklch(27% 0.082 350) |
| XYZ | xyz(2.9020, 1.7413, 2.5657) |
| Luminance | 0.0174 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Plum
#3F012C
ΔE00 3.99
Aubergine
#3D0734
ΔE00 5.42
Plum (survey)
#580F41
ΔE00 6.32
Eggplant
#380835
ΔE00 6.65
Eggplant Purple
#430541
ΔE00 8.43
Deep Violet
#490648
ΔE00 9.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42112C #114227
analogous
#401142 #42112C #421114
triadic
#42112C #2C4211 #112C42
tetradic
#42112C #424011 #114227 #111442
square
#42112C #424011 #114227 #111442
split-complementary
#42112C #144211 #114240
monochromatic
#180610 #180610 #42112C #731E4C #A32A6D
Accessibility & contrast
On white
15.58
#42112C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.35
#42112C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42112C
15.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42112C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42112C | 1.00 | 15.58 | 1.35 | 15.58 |
| #FFFFFF | 15.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#181E2D
Deuteranopia (green-blind)
#26272B
Tritanopia (blue-blind)
#470F1C
Achromatopsia (no color)
#242424
Design tokens & code
CSS
--color: #42112c; /* rgb */ color: rgb(66, 17, 44); /* oklch */ color: oklch(27.0% 0.082 350.0);
Tailwind
colors: {
custom: {
50: '#795365',
500: '#42112c',
950: '#000000',
},
}SCSS
$custom: #42112c; $custom-light: #795365; $custom-dark: #000000;
JSON
{
"hex": "#42112c",
"rgb": {
"r": 66,
"g": 17,
"b": 44
},
"hsl": {
"h": 326.939,
"s": 59.036,
"l": 16.275
},
"oklch": {
"l": 0.27004,
"c": 0.08241,
"h": 350
},
"luminance": 0.01741
}Semantic roles & 50–950 ramp
primary
#42112C
secondary
#337C54
accent
#E28C46
background
#F7F4F6
surface
#EEE7EB
border
#C9C3C6
text
#090205
muted
#7B787A