#9E1F66#9E1F66
#9E1F66 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.5% C 0.173 H 352.0°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1F66 |
|---|---|
| RGB | rgb(158, 31, 102) |
| HSL | hsl(326, 67%, 37%) |
| HSV | hsv(326, 80%, 62%) |
| CMYK | cmyk(0%, 80.4%, 35.4%, 38%) |
| CIE-LAB | lab(36.39, 55.85, -9.29) |
| CIE-LCH | lch(36.39, 56.62, 350.56°) |
| OKLab | oklab(47.45% 0.1715 -0.024) |
| OKLCH | oklch(47.45% 0.173 352) |
| XYZ | xyz(16.9899, 9.2105, 13.4509) |
| Luminance | 0.0921 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.59
Deep Magenta
#A0025C
ΔE00 2.70
Dark Fuchsia
#9D0759
ΔE00 3.10
Dark Magenta
#960056
ΔE00 3.93
Violet Red
#A50055
ΔE00 4.72
Reddish Purple
#910951
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1F66 #1F9E57
analogous
#971F9E #9E1F66 #9E1F26
triadic
#9E1F66 #669E1F #1F669E
tetradic
#9E1F66 #9E971F #1F9E57 #1F269E
square
#9E1F66 #9E971F #1F9E57 #1F269E
split-complementary
#9E1F66 #269E1F #1F9E97
monochromatic
#380B24 #6B1545 #9E1F66 #D12987 #DE59A4
Accessibility & contrast
On white
7.39
#9E1F66 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#9E1F66 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1F66
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1F66 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1F66 | 1.00 | 7.39 | 2.84 | 7.39 |
| #FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#384768
Deuteranopia (green-blind)
#5C5E63
Tritanopia (blue-blind)
#AA1140
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9e1f66; /* rgb */ color: rgb(158, 31, 102); /* oklch */ color: oklch(47.5% 0.173 352.0);
Tailwind
colors: {
custom: {
50: '#bf6a91',
500: '#9e1f66',
950: '#000000',
},
}SCSS
$custom: #9e1f66; $custom-light: #bf6a91; $custom-dark: #000000;
JSON
{
"hex": "#9e1f66",
"rgb": {
"r": 158,
"g": 31,
"b": 102
},
"hsl": {
"h": 326.457,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.47453,
"c": 0.17313,
"h": 352
},
"luminance": 0.09208
}Semantic roles & 50–950 ramp
primary
#9E1F66
secondary
#56C286
accent
#EA8A3E
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D