#42122B#42122B
#42122B is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.1% C 0.080 H 351.5°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).
Color values
| HEX | #42122B |
|---|---|
| RGB | rgb(66, 18, 43) |
| HSL | hsl(329, 57%, 16%) |
| HSV | hsv(329, 73%, 26%) |
| CMYK | cmyk(0%, 72.7%, 34.8%, 74.1%) |
| CIE-LAB | lab(14.21, 26.03, -4.56) |
| CIE-LCH | lch(14.21, 26.43, 350.06°) |
| OKLab | oklab(27.09% 0.0793 -0.0118) |
| OKLCH | oklch(27.09% 0.08 351.5) |
| XYZ | xyz(2.8993, 1.7656, 2.4731) |
| Luminance | 0.0176 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Plum
#3F012C
ΔE00 4.55
Aubergine
#3D0734
ΔE00 6.03
Plum (survey)
#580F41
ΔE00 6.75
Eggplant
#380835
ΔE00 7.21
Eggplant Purple
#430541
ΔE00 9.03
Deep Violet
#490648
ΔE00 9.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42122B #124229
analogous
#411242 #42122B #421213
triadic
#42122B #2B4212 #122B42
tetradic
#42122B #424112 #124229 #121342
square
#42122B #424112 #124229 #121342
split-complementary
#42122B #134212 #124241
monochromatic
#180710 #180710 #42122B #721F4A #A22C6A
Accessibility & contrast
On white
15.52
#42122B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.35
#42122B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42122B
15.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42122B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42122B | 1.00 | 15.52 | 1.35 | 15.52 |
| #FFFFFF | 15.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#191F2C
Deuteranopia (green-blind)
#26272A
Tritanopia (blue-blind)
#470F1C
Achromatopsia (no color)
#242424
Design tokens & code
CSS
--color: #42122b; /* rgb */ color: rgb(66, 18, 43); /* oklch */ color: oklch(27.1% 0.080 351.5);
Tailwind
colors: {
custom: {
50: '#795364',
500: '#42122b',
950: '#000000',
},
}SCSS
$custom: #42122b; $custom-light: #795364; $custom-dark: #000000;
JSON
{
"hex": "#42122b",
"rgb": {
"r": 66,
"g": 18,
"b": 43
},
"hsl": {
"h": 328.75,
"s": 57.143,
"l": 16.471
},
"oklch": {
"l": 0.27093,
"c": 0.08013,
"h": 351.5
},
"luminance": 0.01765
}Semantic roles & 50–950 ramp
primary
#42122B
secondary
#357B56
accent
#E09147
background
#F7F4F5
surface
#EEE7EA
border
#C9C3C6
text
#090305
muted
#7B7879