#942142#942142
#942142 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.6% C 0.151 H 9.3°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #942142 |
|---|---|
| RGB | rgb(148, 33, 66) |
| HSL | hsl(343, 64%, 35%) |
| HSV | hsv(343, 78%, 58%) |
| CMYK | cmyk(0%, 77.7%, 55.4%, 42%) |
| CIE-LAB | lab(33.52, 48.98, 9.56) |
| CIE-LCH | lch(33.52, 49.91, 11.05°) |
| OKLab | oklab(44.63% 0.1488 0.0243) |
| OKLCH | oklch(44.63% 0.151 9.3) |
| XYZ | xyz(13.7413, 7.7789, 5.9311) |
| Luminance | 0.0778 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 3.22
Purple Red
#990147
ΔE00 3.85
Red Wine
#8C0034
ΔE00 3.95
Berry
#990F4B
ΔE00 4.00
Raspberry (survey)
#B00149
ΔE00 5.09
Purplish Red
#B0054B
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942142 #219473
analogous
#94217B #942142 #943A21
triadic
#942142 #429421 #214294
tetradic
#942142 #7B9421 #219473 #3A2194
square
#942142 #7B9421 #219473 #3A2194
split-complementary
#942142 #21943A #217B94
monochromatic
#300B15 #62162C #942142 #C62C58 #D9567C
Accessibility & contrast
On white
8.22
#942142 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#942142 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942142
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942142 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942142 | 1.00 | 8.22 | 2.56 | 8.22 |
| #FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4043
Deuteranopia (green-blind)
#5D573F
Tritanopia (blue-blind)
#A2002F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #942142; /* rgb */ color: rgb(148, 33, 66); /* oklch */ color: oklch(44.6% 0.151 9.3);
Tailwind
colors: {
custom: {
50: '#b96876',
500: '#942142',
950: '#000000',
},
}SCSS
$custom: #942142; $custom-light: #b96876; $custom-dark: #000000;
JSON
{
"hex": "#942142",
"rgb": {
"r": 148,
"g": 33,
"b": 66
},
"hsl": {
"h": 342.783,
"s": 63.536,
"l": 35.49
},
"oklch": {
"l": 0.44627,
"c": 0.15079,
"h": 9.3
},
"luminance": 0.07777
}Semantic roles & 50–950 ramp
primary
#942142
secondary
#54BD9F
accent
#E7B741
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B