#9E1F57#9E1F57
#9E1F57 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.9% C 0.167 H 359.8°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1F57 |
|---|---|
| RGB | rgb(158, 31, 87) |
| HSL | hsl(334, 67%, 37%) |
| HSV | hsv(334, 80%, 62%) |
| CMYK | cmyk(0%, 80.4%, 44.9%, 38%) |
| CIE-LAB | lab(35.87, 54.29, -0.45) |
| CIE-LCH | lch(35.87, 54.30, 359.52°) |
| OKLab | oklab(46.9% 0.1669 -0.0006) |
| OKLCH | oklch(46.9% 0.167 359.8) |
| XYZ | xyz(16.3121, 8.9394, 9.8815) |
| Luminance | 0.0894 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 2.05
Dark Fuchsia
#9D0759
ΔE00 2.66
Berry
#990F4B
ΔE00 2.87
Deep Magenta
#A0025C
ΔE00 3.04
Mulberry
#920A4E
ΔE00 3.53
Purple Red
#990147
ΔE00 3.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1F57 #1F9E66
analogous
#9E1F97 #9E1F57 #9E261F
triadic
#9E1F57 #579E1F #1F579E
tetradic
#9E1F57 #979E1F #1F9E66 #261F9E
square
#9E1F57 #979E1F #1F9E66 #261F9E
split-complementary
#9E1F57 #1F9E26 #1F979E
monochromatic
#380B1F #6B153B #9E1F57 #D12973 #DE5994
Accessibility & contrast
On white
7.53
#9E1F57 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#9E1F57 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1F57
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1F57 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1F57 | 1.00 | 7.53 | 2.79 | 7.53 |
| #FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D4558
Deuteranopia (green-blind)
#5F5D54
Tritanopia (blue-blind)
#AC0038
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9e1f57; /* rgb */ color: rgb(158, 31, 87); /* oklch */ color: oklch(46.9% 0.167 359.8);
Tailwind
colors: {
custom: {
50: '#c06986',
500: '#9e1f57',
950: '#000000',
},
}SCSS
$custom: #9e1f57; $custom-light: #c06986; $custom-dark: #000000;
JSON
{
"hex": "#9e1f57",
"rgb": {
"r": 158,
"g": 31,
"b": 87
},
"hsl": {
"h": 333.543,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.46904,
"c": 0.16691,
"h": 359.8
},
"luminance": 0.08937
}Semantic roles & 50–950 ramp
primary
#9E1F57
secondary
#56C293
accent
#EA9E3E
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C