#9E1F75#9E1F75
#9E1F75 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.1% C 0.181 H 344.8°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1F75 |
|---|---|
| RGB | rgb(158, 31, 117) |
| HSL | hsl(319, 67%, 37%) |
| HSV | hsv(319, 80%, 62%) |
| CMYK | cmyk(0%, 80.4%, 25.9%, 38%) |
| CIE-LAB | lab(37.00, 57.65, -17.84) |
| CIE-LCH | lch(37.00, 60.35, 342.80°) |
| OKLab | oklab(48.09% 0.1748 -0.0475) |
| OKLCH | oklch(48.09% 0.181 344.8) |
| XYZ | xyz(17.8022, 9.5354, 17.7292) |
| Luminance | 0.0953 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.13
Deep Magenta
#A0025C
ΔE00 5.84
Dark Fuchsia
#9D0759
ΔE00 6.36
Warm Purple
#952E8F
ΔE00 6.37
Dark Magenta
#960056
ΔE00 6.68
Magenta (survey)
#C20078
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1F75 #1F9E48
analogous
#881F9E #9E1F75 #9E1F36
triadic
#9E1F75 #759E1F #1F759E
tetradic
#9E1F75 #9E881F #1F9E48 #1F369E
square
#9E1F75 #9E881F #1F9E48 #1F369E
split-complementary
#9E1F75 #369E1F #1F9E88
monochromatic
#380B29 #6B154F #9E1F75 #D1299B #DE59B3
Accessibility & contrast
On white
7.22
#9E1F75 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#9E1F75 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1F75
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1F75 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1F75 | 1.00 | 7.22 | 2.91 | 7.22 |
| #FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#304A77
Deuteranopia (green-blind)
#585F72
Tritanopia (blue-blind)
#A91D48
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9e1f75; /* rgb */ color: rgb(158, 31, 117); /* oklch */ color: oklch(48.1% 0.181 344.8);
Tailwind
colors: {
custom: {
50: '#bf6a9d',
500: '#9e1f75',
950: '#000000',
},
}SCSS
$custom: #9e1f75; $custom-light: #bf6a9d; $custom-dark: #000000;
JSON
{
"hex": "#9e1f75",
"rgb": {
"r": 158,
"g": 31,
"b": 117
},
"hsl": {
"h": 319.37,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.48094,
"c": 0.18119,
"h": 344.8
},
"luminance": 0.09533
}Semantic roles & 50–950 ramp
primary
#9E1F75
secondary
#56C279
accent
#EA753E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E