#9E2247#9E2247
#9E2247 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.7% C 0.160 H 8.9°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2247 |
|---|---|
| RGB | rgb(158, 34, 71) |
| HSL | hsl(342, 65%, 38%) |
| HSV | hsv(342, 78%, 62%) |
| CMYK | cmyk(0%, 78.5%, 55.1%, 38%) |
| CIE-LAB | lab(35.73, 52.00, 9.69) |
| CIE-LCH | lch(35.73, 52.90, 10.56°) |
| OKLab | oklab(46.66% 0.1581 0.0247) |
| OKLCH | oklch(46.66% 0.16 8.9) |
| XYZ | xyz(15.8114, 8.8703, 6.8396) |
| Luminance | 0.0887 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 3.35
Purplish Red
#B0054B
ΔE00 3.37
Cranberry
#9E003A
ΔE00 3.41
Berry
#990F4B
ΔE00 4.08
Purple Red
#990147
ΔE00 4.13
Rouge
#AB1239
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2247 #229E79
analogous
#9E2285 #9E2247 #9E3B22
triadic
#9E2247 #479E22 #22479E
tetradic
#9E2247 #859E22 #229E79 #3B229E
square
#9E2247 #859E22 #229E79 #3B229E
split-complementary
#9E2247 #229E3B #22859E
monochromatic
#390C1A #6C1730 #9E2247 #D02D5E #DC5E84
Accessibility & contrast
On white
7.57
#9E2247 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#9E2247 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E2247
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2247 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2247 | 1.00 | 7.57 | 2.77 | 7.57 |
| #FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434448
Deuteranopia (green-blind)
#635D44
Tritanopia (blue-blind)
#AD0032
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9e2247; /* rgb */ color: rgb(158, 34, 71); /* oklch */ color: oklch(46.7% 0.160 8.9);
Tailwind
colors: {
custom: {
50: '#c16a79',
500: '#9e2247',
950: '#000000',
},
}SCSS
$custom: #9e2247; $custom-light: #c16a79; $custom-dark: #000000;
JSON
{
"hex": "#9e2247",
"rgb": {
"r": 158,
"g": 34,
"b": 71
},
"hsl": {
"h": 342.097,
"s": 64.583,
"l": 37.647
},
"oklch": {
"l": 0.46659,
"c": 0.16002,
"h": 8.9
},
"luminance": 0.08868
}Semantic roles & 50–950 ramp
primary
#9E2247
secondary
#5BC1A3
accent
#E8B640
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#130709
muted
#827A7B