#9E1A57#9E1A57
#9E1A57 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.6% C 0.171 H 359.2°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1A57 |
|---|---|
| RGB | rgb(158, 26, 87) |
| HSL | hsl(332, 72%, 36%) |
| HSV | hsv(332, 84%, 62%) |
| CMYK | cmyk(0%, 83.5%, 44.9%, 38%) |
| CIE-LAB | lab(35.40, 55.64, -1.14) |
| CIE-LCH | lch(35.40, 55.65, 358.83°) |
| OKLab | oklab(46.56% 0.1712 -0.0023) |
| OKLCH | oklch(46.56% 0.171 359.2) |
| XYZ | xyz(16.1916, 8.6982, 9.8413) |
| Luminance | 0.0870 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 1.71
Dark Fuchsia
#9D0759
ΔE00 2.05
Deep Magenta
#A0025C
ΔE00 2.45
Berry
#990F4B
ΔE00 2.80
Mulberry
#920A4E
ΔE00 3.12
Dark Magenta
#960056
ΔE00 3.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1A57 #1A9E61
analogous
#9E1A99 #9E1A57 #9E1F1A
triadic
#9E1A57 #579E1A #1A579E
tetradic
#9E1A57 #999E1A #1A9E61 #1F1A9E
square
#9E1A57 #999E1A #1A9E61 #1F1A9E
split-complementary
#9E1A57 #1A9E1F #1A999E
monochromatic
#35091D #69113A #9E1A57 #D32374 #E25094
Accessibility & contrast
On white
7.67
#9E1A57 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#9E1A57 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1A57
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1A57 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1A57 | 1.00 | 7.67 | 2.74 | 7.67 |
| #FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B4358
Deuteranopia (green-blind)
#5E5C54
Tritanopia (blue-blind)
#AC0037
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9e1a57; /* rgb */ color: rgb(158, 26, 87); /* oklch */ color: oklch(46.6% 0.171 359.2);
Tailwind
colors: {
custom: {
50: '#c06786',
500: '#9e1a57',
950: '#000000',
},
}SCSS
$custom: #9e1a57; $custom-light: #c06786; $custom-dark: #000000;
JSON
{
"hex": "#9e1a57",
"rgb": {
"r": 158,
"g": 26,
"b": 87
},
"hsl": {
"h": 332.273,
"s": 71.739,
"l": 36.078
},
"oklch": {
"l": 0.4656,
"c": 0.17125,
"h": 359.2
},
"luminance": 0.08696
}Semantic roles & 50–950 ramp
primary
#9E1A57
secondary
#4FC58E
accent
#EE9B39
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C