#9E1F5F#9E1F5F
#9E1F5F is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.2% C 0.170 H 355.6°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1F5F |
|---|---|
| RGB | rgb(158, 31, 95) |
| HSL | hsl(330, 67%, 37%) |
| HSV | hsv(330, 80%, 62%) |
| CMYK | cmyk(0%, 80.4%, 39.9%, 38%) |
| CIE-LAB | lab(36.13, 55.10, -5.20) |
| CIE-LCH | lch(36.13, 55.34, 354.61°) |
| OKLab | oklab(47.19% 0.1695 -0.013) |
| OKLCH | oklch(47.19% 0.17 355.6) |
| XYZ | xyz(16.6573, 9.0774, 11.6992) |
| Luminance | 0.0907 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Magenta
#A0025C
ΔE00 2.00
Dark Fuchsia
#9D0759
ΔE00 2.07
Violet Red
#A50055
ΔE00 3.16
Dark Magenta
#960056
ΔE00 3.34
Reddish Purple
#910951
ΔE00 3.94
Red Violet
#9E0168
ΔE00 3.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1F5F #1F9E5E
analogous
#9E1F9E #9E1F5F #9E1F1F
triadic
#9E1F5F #5F9E1F #1F5F9E
tetradic
#9E1F5F #9E9E1F #1F9E5E #1F1F9E
square
#9E1F5F #9E9E1F #1F9E5E #1F1F9E
split-complementary
#9E1F5F #1F9E1F #1F9E9E
monochromatic
#380B21 #6B1540 #9E1F5F #D1297E #DE599C
Accessibility & contrast
On white
7.46
#9E1F5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#9E1F5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1F5F
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1F5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1F5F | 1.00 | 7.46 | 2.81 | 7.46 |
| #FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B4661
Deuteranopia (green-blind)
#5E5D5C
Tritanopia (blue-blind)
#AB093C
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #9e1f5f; /* rgb */ color: rgb(158, 31, 95); /* oklch */ color: oklch(47.2% 0.170 355.6);
Tailwind
colors: {
custom: {
50: '#c0698c',
500: '#9e1f5f',
950: '#000000',
},
}SCSS
$custom: #9e1f5f; $custom-light: #c0698c; $custom-dark: #000000;
JSON
{
"hex": "#9e1f5f",
"rgb": {
"r": 158,
"g": 31,
"b": 95
},
"hsl": {
"h": 329.764,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.47186,
"c": 0.16997,
"h": 355.6
},
"luminance": 0.09075
}Semantic roles & 50–950 ramp
primary
#9E1F5F
secondary
#56C28C
accent
#EA933E
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D