#9E2142#9E2142
#9E2142 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.160 H 11.3°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2142 |
|---|---|
| RGB | rgb(158, 33, 66) |
| HSL | hsl(344, 65%, 37%) |
| HSV | hsv(344, 79%, 62%) |
| CMYK | cmyk(0%, 79.1%, 58.2%, 38%) |
| CIE-LAB | lab(35.50, 51.93, 12.61) |
| CIE-LCH | lch(35.50, 53.44, 13.65°) |
| OKLab | oklab(46.45% 0.1571 0.0315) |
| OKLCH | oklch(46.45% 0.16 11.3) |
| XYZ | xyz(15.6293, 8.7524, 6.0196) |
| Luminance | 0.0875 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.64
Raspberry (survey)
#B00149
ΔE00 3.75
Purplish Red
#B0054B
ΔE00 3.96
Rouge
#AB1239
ΔE00 3.98
Purple Red
#990147
ΔE00 5.18
Red Wine
#8C0034
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2142 #219E7D
analogous
#9E2181 #9E2142 #9E3F21
triadic
#9E2142 #429E21 #21429E
tetradic
#9E2142 #819E21 #219E7D #3F219E
square
#9E2142 #819E21 #219E7D #3F219E
split-complementary
#9E2142 #219E3F #21819E
monochromatic
#390C18 #6B162D #9E2142 #D12C57 #DD5C7E
Accessibility & contrast
On white
7.64
#9E2142 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#9E2142 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E2142
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2142 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2142 | 1.00 | 7.64 | 2.75 | 7.64 |
| #FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434342
Deuteranopia (green-blind)
#645D3F
Tritanopia (blue-blind)
#AD002F
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9e2142; /* rgb */ color: rgb(158, 33, 66); /* oklch */ color: oklch(46.5% 0.160 11.3);
Tailwind
colors: {
custom: {
50: '#c16976',
500: '#9e2142',
950: '#000000',
},
}SCSS
$custom: #9e2142; $custom-light: #c16976; $custom-dark: #000000;
JSON
{
"hex": "#9e2142",
"rgb": {
"r": 158,
"g": 33,
"b": 66
},
"hsl": {
"h": 344.16,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.4645,
"c": 0.16025,
"h": 11.3
},
"luminance": 0.0875
}Semantic roles & 50–950 ramp
primary
#9E2142
secondary
#59C1A6
accent
#E8BC3F
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B