#9E1562#9E1562
#9E1562 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.7% C 0.179 H 353.2°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1562 |
|---|---|
| RGB | rgb(158, 21, 98) |
| HSL | hsl(326, 77%, 35%) |
| HSV | hsv(326, 87%, 62%) |
| CMYK | cmyk(0%, 86.7%, 38%, 38%) |
| CIE-LAB | lab(35.38, 57.88, -8.25) |
| CIE-LCH | lch(35.38, 58.46, 351.89°) |
| OKLab | oklab(46.67% 0.1782 -0.0211) |
| OKLCH | oklch(46.67% 0.179 353.2) |
| XYZ | xyz(16.5745, 8.6894, 12.3573) |
| Luminance | 0.0869 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Magenta
#A0025C
ΔE00 1.62
Dark Fuchsia
#9D0759
ΔE00 2.07
Red Violet
#9E0168
ΔE00 2.32
Dark Magenta
#960056
ΔE00 2.89
Reddish Purple
#910951
ΔE00 3.93
Violet Red
#A50055
ΔE00 3.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1562 #159E51
analogous
#95159E #9E1562 #9E151E
triadic
#9E1562 #629E15 #15629E
tetradic
#9E1562 #9E9515 #159E51 #151E9E
square
#9E1562 #9E9515 #159E51 #151E9E
split-complementary
#9E1562 #1E9E15 #159E95
monochromatic
#32071F #680E40 #9E1562 #D41C84 #E747A1
Accessibility & contrast
On white
7.67
#9E1562 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#9E1562 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1562
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1562 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1562 | 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)
#344464
Deuteranopia (green-blind)
#5B5C5F
Tritanopia (blue-blind)
#AB003B
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9e1562; /* rgb */ color: rgb(158, 21, 98); /* oklch */ color: oklch(46.7% 0.179 353.2);
Tailwind
colors: {
custom: {
50: '#c0668e',
500: '#9e1562',
950: '#000000',
},
}SCSS
$custom: #9e1562; $custom-light: #c0668e; $custom-dark: #000000;
JSON
{
"hex": "#9e1562",
"rgb": {
"r": 158,
"g": 21,
"b": 98
},
"hsl": {
"h": 326.277,
"s": 76.536,
"l": 35.098
},
"oklch": {
"l": 0.46672,
"c": 0.17947,
"h": 353.2
},
"luminance": 0.08687
}Semantic roles & 50–950 ramp
primary
#9E1562
secondary
#47C77F
accent
#F38835
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070C
muted
#827A7D