#9E1F6D#9E1F6D
#9E1F6D is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.7% C 0.177 H 348.6°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1F6D |
|---|---|
| RGB | rgb(158, 31, 109) |
| HSL | hsl(323, 67%, 37%) |
| HSV | hsv(323, 80%, 62%) |
| CMYK | cmyk(0%, 80.4%, 31%, 38%) |
| CIE-LAB | lab(36.66, 56.66, -13.31) |
| CIE-LCH | lch(36.66, 58.21, 346.78°) |
| OKLab | oklab(47.74% 0.1732 -0.035) |
| OKLCH | oklch(47.74% 0.177 348.6) |
| XYZ | xyz(17.3518, 9.3552, 15.3570) |
| Luminance | 0.0935 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.19
Deep Magenta
#A0025C
ΔE00 4.10
Dark Fuchsia
#9D0759
ΔE00 4.60
Dark Magenta
#960056
ΔE00 5.11
Reddish Purple
#910951
ΔE00 6.14
Violet Red
#A50055
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1F6D #1F9E50
analogous
#901F9E #9E1F6D #9E1F2D
triadic
#9E1F6D #6D9E1F #1F6D9E
tetradic
#9E1F6D #9E901F #1F9E50 #1F2D9E
square
#9E1F6D #9E901F #1F9E50 #1F2D9E
split-complementary
#9E1F6D #2D9E1F #1F9E90
monochromatic
#380B26 #6B154A #9E1F6D #D12990 #DE59AB
Accessibility & contrast
On white
7.32
#9E1F6D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#9E1F6D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1F6D
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1F6D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1F6D | 1.00 | 7.32 | 2.87 | 7.32 |
| #FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#35486F
Deuteranopia (green-blind)
#5A5E6A
Tritanopia (blue-blind)
#AA1744
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9e1f6d; /* rgb */ color: rgb(158, 31, 109); /* oklch */ color: oklch(47.7% 0.177 348.6);
Tailwind
colors: {
custom: {
50: '#bf6a97',
500: '#9e1f6d',
950: '#000000',
},
}SCSS
$custom: #9e1f6d; $custom-light: #bf6a97; $custom-dark: #000000;
JSON
{
"hex": "#9e1f6d",
"rgb": {
"r": 158,
"g": 31,
"b": 109
},
"hsl": {
"h": 323.15,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.47741,
"c": 0.17669,
"h": 348.6
},
"luminance": 0.09353
}Semantic roles & 50–950 ramp
primary
#9E1F6D
secondary
#56C280
accent
#EA803E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E