#9E2251#9E2251
#9E2251 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.9% C 0.162 H 3.5°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2251 |
|---|---|
| RGB | rgb(158, 34, 81) |
| HSL | hsl(337, 65%, 38%) |
| HSV | hsv(337, 78%, 62%) |
| CMYK | cmyk(0%, 78.5%, 48.7%, 38%) |
| CIE-LAB | lab(36.00, 52.84, 3.61) |
| CIE-LCH | lch(36.00, 52.96, 3.91°) |
| OKLab | oklab(46.94% 0.1619 0.0098) |
| OKLCH | oklch(46.94% 0.162 3.5) |
| XYZ | xyz(16.1592, 9.0094, 8.6711) |
| Luminance | 0.0901 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.45
Violet Red
#A50055
ΔE00 3.00
Purple Red
#990147
ΔE00 3.26
Purplish Red
#B0054B
ΔE00 4.14
Mulberry
#920A4E
ΔE00 4.37
Raspberry (survey)
#B00149
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2251 #229E6F
analogous
#9E228F #9E2251 #9E3122
triadic
#9E2251 #519E22 #22519E
tetradic
#9E2251 #8F9E22 #229E6F #31229E
square
#9E2251 #8F9E22 #229E6F #31229E
split-complementary
#9E2251 #229E31 #228F9E
monochromatic
#390C1D #6C1737 #9E2251 #D02D6B #DC5E8E
Accessibility & contrast
On white
7.50
#9E2251 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#9E2251 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E2251
7.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2251 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2251 | 1.00 | 7.50 | 2.80 | 7.50 |
| #FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404552
Deuteranopia (green-blind)
#615D4E
Tritanopia (blue-blind)
#AC0137
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #9e2251; /* rgb */ color: rgb(158, 34, 81); /* oklch */ color: oklch(46.9% 0.162 3.5);
Tailwind
colors: {
custom: {
50: '#c06a81',
500: '#9e2251',
950: '#000000',
},
}SCSS
$custom: #9e2251; $custom-light: #c06a81; $custom-dark: #000000;
JSON
{
"hex": "#9e2251",
"rgb": {
"r": 158,
"g": 34,
"b": 81
},
"hsl": {
"h": 337.258,
"s": 64.583,
"l": 37.647
},
"oklch": {
"l": 0.46944,
"c": 0.16221,
"h": 3.5
},
"luminance": 0.09007
}Semantic roles & 50–950 ramp
primary
#9E2251
secondary
#5BC19A
accent
#E8A840
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C