#9E1951#9E1951
#9E1951 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.170 H 2.2°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1951 |
|---|---|
| RGB | rgb(158, 25, 81) |
| HSL | hsl(335, 73%, 36%) |
| HSV | hsv(335, 84%, 62%) |
| CMYK | cmyk(0%, 84.2%, 48.7%, 38%) |
| CIE-LAB | lab(35.12, 55.34, 2.35) |
| CIE-LCH | lch(35.12, 55.39, 2.43°) |
| OKLab | oklab(46.3% 0.17 0.0066) |
| OKLCH | oklch(46.3% 0.17 2.2) |
| XYZ | xyz(15.9348, 8.5607, 8.5963) |
| Luminance | 0.0856 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.65
Violet Red
#A50055
ΔE00 1.97
Purple Red
#990147
ΔE00 2.57
Mulberry
#920A4E
ΔE00 3.36
Dark Fuchsia
#9D0759
ΔE00 3.40
Deep Magenta
#A0025C
ΔE00 3.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1951 #199E66
analogous
#9E1993 #9E1951 #9E2319
triadic
#9E1951 #519E19 #19519E
tetradic
#9E1951 #939E19 #199E66 #23199E
square
#9E1951 #939E19 #199E66 #23199E
split-complementary
#9E1951 #199E23 #19939E
monochromatic
#34081B #691136 #9E1951 #D3216C #E34E8D
Accessibility & contrast
On white
7.74
#9E1951 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#9E1951 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1951
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1951 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1951 | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C4252
Deuteranopia (green-blind)
#5F5C4E
Tritanopia (blue-blind)
#AC0033
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9e1951; /* rgb */ color: rgb(158, 25, 81); /* oklch */ color: oklch(46.3% 0.170 2.2);
Tailwind
colors: {
custom: {
50: '#c16781',
500: '#9e1951',
950: '#000000',
},
}SCSS
$custom: #9e1951; $custom-light: #c16781; $custom-dark: #000000;
JSON
{
"hex": "#9e1951",
"rgb": {
"r": 158,
"g": 25,
"b": 81
},
"hsl": {
"h": 334.737,
"s": 72.678,
"l": 35.882
},
"oklch": {
"l": 0.463,
"c": 0.1701,
"h": 2.2
},
"luminance": 0.08558
}Semantic roles & 50–950 ramp
primary
#9E1951
secondary
#4EC593
accent
#EFA238
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C