#9E1F5B#9E1F5B
#9E1F5B is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.0% C 0.168 H 357.7°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1F5B |
|---|---|
| RGB | rgb(158, 31, 91) |
| HSL | hsl(332, 67%, 37%) |
| HSV | hsv(332, 80%, 62%) |
| CMYK | cmyk(0%, 80.4%, 42.4%, 38%) |
| CIE-LAB | lab(36.00, 54.69, -2.83) |
| CIE-LCH | lch(36.00, 54.76, 357.03°) |
| OKLab | oklab(47.04% 0.1682 -0.0068) |
| OKLCH | oklch(47.04% 0.168 357.7) |
| XYZ | xyz(16.4801, 9.0066, 10.7661) |
| Luminance | 0.0900 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Fuchsia
#9D0759
ΔE00 2.10
Deep Magenta
#A0025C
ΔE00 2.30
Violet Red
#A50055
ΔE00 2.42
Dark Magenta
#960056
ΔE00 3.45
Mulberry
#920A4E
ΔE00 3.70
Berry
#990F4B
ΔE00 3.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1F5B #1F9E62
analogous
#9E1F9A #9E1F5B #9E231F
triadic
#9E1F5B #5B9E1F #1F5B9E
tetradic
#9E1F5B #9A9E1F #1F9E62 #231F9E
square
#9E1F5B #9A9E1F #1F9E62 #231F9E
split-complementary
#9E1F5B #1F9E23 #1F9A9E
monochromatic
#380B20 #6B153E #9E1F5B #D12978 #DE5998
Accessibility & contrast
On white
7.50
#9E1F5B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#9E1F5B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1F5B
7.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1F5B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1F5B | 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)
#3C455C
Deuteranopia (green-blind)
#5F5D58
Tritanopia (blue-blind)
#AB053A
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #9e1f5b; /* rgb */ color: rgb(158, 31, 91); /* oklch */ color: oklch(47.0% 0.168 357.7);
Tailwind
colors: {
custom: {
50: '#c06989',
500: '#9e1f5b',
950: '#000000',
},
}SCSS
$custom: #9e1f5b; $custom-light: #c06989; $custom-dark: #000000;
JSON
{
"hex": "#9e1f5b",
"rgb": {
"r": 158,
"g": 31,
"b": 91
},
"hsl": {
"h": 331.654,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.47042,
"c": 0.16837,
"h": 357.7
},
"luminance": 0.09004
}Semantic roles & 50–950 ramp
primary
#9E1F5B
secondary
#56C28F
accent
#EA993E
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C