#9E1F73#9E1F73
#9E1F73 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.180 H 345.7°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1F73 |
|---|---|
| RGB | rgb(158, 31, 115) |
| HSL | hsl(320, 67%, 37%) |
| HSV | hsv(320, 80%, 62%) |
| CMYK | cmyk(0%, 80.4%, 27.2%, 38%) |
| CIE-LAB | lab(36.91, 57.40, -16.72) |
| CIE-LCH | lch(36.91, 59.78, 343.76°) |
| OKLab | oklab(48% 0.1745 -0.0444) |
| OKLCH | oklch(48% 0.18 345.7) |
| XYZ | xyz(17.6859, 9.4889, 17.1165) |
| Luminance | 0.0949 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.81
Deep Magenta
#A0025C
ΔE00 5.40
Dark Fuchsia
#9D0759
ΔE00 5.92
Dark Magenta
#960056
ΔE00 6.28
Magenta (survey)
#C20078
ΔE00 6.79
Warm Purple
#952E8F
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1F73 #1F9E4A
analogous
#8A1F9E #9E1F73 #9E1F34
triadic
#9E1F73 #739E1F #1F739E
tetradic
#9E1F73 #9E8A1F #1F9E4A #1F349E
square
#9E1F73 #9E8A1F #1F9E4A #1F349E
split-complementary
#9E1F73 #349E1F #1F9E8A
monochromatic
#380B29 #6B154E #9E1F73 #D12998 #DE59B1
Accessibility & contrast
On white
7.25
#9E1F73 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#9E1F73 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1F73
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1F73 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1F73 | 1.00 | 7.25 | 2.90 | 7.25 |
| #FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#324975
Deuteranopia (green-blind)
#585E70
Tritanopia (blue-blind)
#A91B47
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9e1f73; /* rgb */ color: rgb(158, 31, 115); /* oklch */ color: oklch(48.0% 0.180 345.7);
Tailwind
colors: {
custom: {
50: '#bf6a9b',
500: '#9e1f73',
950: '#000000',
},
}SCSS
$custom: #9e1f73; $custom-light: #bf6a9b; $custom-dark: #000000;
JSON
{
"hex": "#9e1f73",
"rgb": {
"r": 158,
"g": 31,
"b": 115
},
"hsl": {
"h": 320.315,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.48004,
"c": 0.18002,
"h": 345.7
},
"luminance": 0.09487
}Semantic roles & 50–950 ramp
primary
#9E1F73
secondary
#56C27B
accent
#EA783E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E