#9E1F74#9E1F74
#9E1F74 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.181 H 345.3°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1F74 |
|---|---|
| RGB | rgb(158, 31, 116) |
| HSL | hsl(320, 67%, 37%) |
| HSV | hsv(320, 80%, 62%) |
| CMYK | cmyk(0%, 80.4%, 26.6%, 38%) |
| CIE-LAB | lab(36.95, 57.52, -17.28) |
| CIE-LCH | lch(36.95, 60.06, 343.28°) |
| OKLab | oklab(48.05% 0.1747 -0.046) |
| OKLCH | oklch(48.05% 0.181 345.3) |
| XYZ | xyz(17.7437, 9.5120, 17.4212) |
| Luminance | 0.0951 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.96
Deep Magenta
#A0025C
ΔE00 5.62
Dark Fuchsia
#9D0759
ΔE00 6.14
Dark Magenta
#960056
ΔE00 6.48
Warm Purple
#952E8F
ΔE00 6.59
Magenta (survey)
#C20078
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1F74 #1F9E49
analogous
#891F9E #9E1F74 #9E1F34
triadic
#9E1F74 #749E1F #1F749E
tetradic
#9E1F74 #9E891F #1F9E49 #1F349E
square
#9E1F74 #9E891F #1F9E49 #1F349E
split-complementary
#9E1F74 #349E1F #1F9E89
monochromatic
#380B29 #6B154E #9E1F74 #D1299A #DE59B2
Accessibility & contrast
On white
7.24
#9E1F74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#9E1F74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1F74
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1F74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1F74 | 1.00 | 7.24 | 2.90 | 7.24 |
| #FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314976
Deuteranopia (green-blind)
#585F71
Tritanopia (blue-blind)
#A91C48
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9e1f74; /* rgb */ color: rgb(158, 31, 116); /* oklch */ color: oklch(48.0% 0.181 345.3);
Tailwind
colors: {
custom: {
50: '#bf6a9c',
500: '#9e1f74',
950: '#000000',
},
}SCSS
$custom: #9e1f74; $custom-light: #bf6a9c; $custom-dark: #000000;
JSON
{
"hex": "#9e1f74",
"rgb": {
"r": 158,
"g": 31,
"b": 116
},
"hsl": {
"h": 319.843,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.48049,
"c": 0.1806,
"h": 345.3
},
"luminance": 0.0951
}Semantic roles & 50–950 ramp
primary
#9E1F74
secondary
#56C27A
accent
#EA773E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E