#9E1F5D#9E1F5D
#9E1F5D is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.1% C 0.169 H 356.7°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1F5D |
|---|---|
| RGB | rgb(158, 31, 93) |
| HSL | hsl(331, 67%, 37%) |
| HSV | hsv(331, 80%, 62%) |
| CMYK | cmyk(0%, 80.4%, 41.1%, 38%) |
| CIE-LAB | lab(36.06, 54.89, -4.02) |
| CIE-LCH | lch(36.06, 55.04, 355.81°) |
| OKLab | oklab(47.11% 0.1689 -0.0099) |
| OKLCH | oklch(47.11% 0.169 356.7) |
| XYZ | xyz(16.5675, 9.0415, 11.2266) |
| Luminance | 0.0904 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Fuchsia
#9D0759
ΔE00 2.01
Deep Magenta
#A0025C
ΔE00 2.08
Violet Red
#A50055
ΔE00 2.76
Dark Magenta
#960056
ΔE00 3.35
Reddish Purple
#910951
ΔE00 3.81
Mulberry
#920A4E
ΔE00 3.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1F5D #1F9E60
analogous
#9E1F9D #9E1F5D #9E211F
triadic
#9E1F5D #5D9E1F #1F5D9E
tetradic
#9E1F5D #9D9E1F #1F9E60 #211F9E
square
#9E1F5D #9D9E1F #1F9E60 #211F9E
split-complementary
#9E1F5D #1F9E21 #1F9D9E
monochromatic
#380B21 #6B153F #9E1F5D #D1297B #DE599A
Accessibility & contrast
On white
7.48
#9E1F5D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#9E1F5D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1F5D
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1F5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1F5D | 1.00 | 7.48 | 2.81 | 7.48 |
| #FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B465E
Deuteranopia (green-blind)
#5E5D5A
Tritanopia (blue-blind)
#AB073B
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #9e1f5d; /* rgb */ color: rgb(158, 31, 93); /* oklch */ color: oklch(47.1% 0.169 356.7);
Tailwind
colors: {
custom: {
50: '#c0698a',
500: '#9e1f5d',
950: '#000000',
},
}SCSS
$custom: #9e1f5d; $custom-light: #c0698a; $custom-dark: #000000;
JSON
{
"hex": "#9e1f5d",
"rgb": {
"r": 158,
"g": 31,
"b": 93
},
"hsl": {
"h": 330.709,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.47113,
"c": 0.16915,
"h": 356.7
},
"luminance": 0.09039
}Semantic roles & 50–950 ramp
primary
#9E1F5D
secondary
#56C28E
accent
#EA963E
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C