#9E2147#9E2147
#9E2147 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.161 H 8.7°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2147 |
|---|---|
| RGB | rgb(158, 33, 71) |
| HSL | hsl(342, 65%, 37%) |
| HSV | hsv(342, 79%, 62%) |
| CMYK | cmyk(0%, 79.1%, 55.1%, 38%) |
| CIE-LAB | lab(35.62, 52.31, 9.54) |
| CIE-LCH | lch(35.62, 53.17, 10.34°) |
| OKLab | oklab(46.58% 0.1591 0.0243) |
| OKLCH | oklch(46.58% 0.161 8.7) |
| XYZ | xyz(15.7832, 8.8140, 6.8302) |
| Luminance | 0.0881 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 3.31
Purplish Red
#B0054B
ΔE00 3.32
Cranberry
#9E003A
ΔE00 3.37
Berry
#990F4B
ΔE00 3.93
Purple Red
#990147
ΔE00 3.98
Rouge
#AB1239
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2147 #219E78
analogous
#9E2186 #9E2147 #9E3A21
triadic
#9E2147 #479E21 #21479E
tetradic
#9E2147 #869E21 #219E78 #3A219E
square
#9E2147 #869E21 #219E78 #3A219E
split-complementary
#9E2147 #219E3A #21869E
monochromatic
#390C1A #6B1630 #9E2147 #D12C5E #DD5C83
Accessibility & contrast
On white
7.60
#9E2147 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#9E2147 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E2147
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2147 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2147 | 1.00 | 7.60 | 2.76 | 7.60 |
| #FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424448
Deuteranopia (green-blind)
#635D44
Tritanopia (blue-blind)
#AD0031
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9e2147; /* rgb */ color: rgb(158, 33, 71); /* oklch */ color: oklch(46.6% 0.161 8.7);
Tailwind
colors: {
custom: {
50: '#c16979',
500: '#9e2147',
950: '#000000',
},
}SCSS
$custom: #9e2147; $custom-light: #c16979; $custom-dark: #000000;
JSON
{
"hex": "#9e2147",
"rgb": {
"r": 158,
"g": 33,
"b": 71
},
"hsl": {
"h": 341.76,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.46578,
"c": 0.16095,
"h": 8.7
},
"luminance": 0.08812
}Semantic roles & 50–950 ramp
primary
#9E2147
secondary
#59C1A2
accent
#E8B53F
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#130709
muted
#827A7B