#9E1F64#9E1F64
#9E1F64 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.172 H 353.1°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1F64 |
|---|---|
| RGB | rgb(158, 31, 100) |
| HSL | hsl(327, 67%, 37%) |
| HSV | hsv(327, 80%, 62%) |
| CMYK | cmyk(0%, 80.4%, 36.7%, 38%) |
| CIE-LAB | lab(36.31, 55.63, -8.12) |
| CIE-LCH | lch(36.31, 56.22, 351.69°) |
| OKLab | oklab(47.38% 0.1709 -0.0208) |
| OKLCH | oklch(47.38% 0.172 353.1) |
| XYZ | xyz(16.8919, 9.1713, 12.9348) |
| Luminance | 0.0917 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Magenta
#A0025C
ΔE00 2.38
Dark Fuchsia
#9D0759
ΔE00 2.73
Red Violet
#9E0168
ΔE00 2.91
Dark Magenta
#960056
ΔE00 3.68
Violet Red
#A50055
ΔE00 4.26
Reddish Purple
#910951
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1F64 #1F9E59
analogous
#991F9E #9E1F64 #9E1F24
triadic
#9E1F64 #649E1F #1F649E
tetradic
#9E1F64 #9E991F #1F9E59 #1F249E
square
#9E1F64 #9E991F #1F9E59 #1F249E
split-complementary
#9E1F64 #249E1F #1F9E99
monochromatic
#380B23 #6B1544 #9E1F64 #D12984 #DE59A1
Accessibility & contrast
On white
7.41
#9E1F64 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#9E1F64 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1F64
7.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1F64 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1F64 | 1.00 | 7.41 | 2.83 | 7.41 |
| #FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394766
Deuteranopia (green-blind)
#5D5E61
Tritanopia (blue-blind)
#AB0F3F
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #9e1f64; /* rgb */ color: rgb(158, 31, 100); /* oklch */ color: oklch(47.4% 0.172 353.1);
Tailwind
colors: {
custom: {
50: '#bf6990',
500: '#9e1f64',
950: '#000000',
},
}SCSS
$custom: #9e1f64; $custom-light: #bf6990; $custom-dark: #000000;
JSON
{
"hex": "#9e1f64",
"rgb": {
"r": 158,
"g": 31,
"b": 100
},
"hsl": {
"h": 327.402,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.47375,
"c": 0.17218,
"h": 353.1
},
"luminance": 0.09169
}Semantic roles & 50–950 ramp
primary
#9E1F64
secondary
#56C288
accent
#EA8C3E
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D