#9E1F6F#9E1F6F
#9E1F6F is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.178 H 347.6°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1F6F |
|---|---|
| RGB | rgb(158, 31, 111) |
| HSL | hsl(322, 67%, 37%) |
| HSV | hsv(322, 80%, 62%) |
| CMYK | cmyk(0%, 80.4%, 29.7%, 38%) |
| CIE-LAB | lab(36.74, 56.90, -14.45) |
| CIE-LCH | lch(36.74, 58.71, 345.75°) |
| OKLab | oklab(47.83% 0.1736 -0.0381) |
| OKLCH | oklch(47.83% 0.178 347.6) |
| XYZ | xyz(17.4607, 9.3988, 15.9305) |
| Luminance | 0.0940 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.32
Deep Magenta
#A0025C
ΔE00 4.53
Dark Fuchsia
#9D0759
ΔE00 5.04
Dark Magenta
#960056
ΔE00 5.49
Reddish Purple
#910951
ΔE00 6.54
Magenta (survey)
#C20078
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1F6F #1F9E4E
analogous
#8E1F9E #9E1F6F #9E1F2F
triadic
#9E1F6F #6F9E1F #1F6F9E
tetradic
#9E1F6F #9E8E1F #1F9E4E #1F2F9E
square
#9E1F6F #9E8E1F #1F9E4E #1F2F9E
split-complementary
#9E1F6F #2F9E1F #1F9E8E
monochromatic
#380B27 #6B154B #9E1F6F #D12993 #DE59AD
Accessibility & contrast
On white
7.29
#9E1F6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#9E1F6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1F6F
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1F6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1F6F | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#344871
Deuteranopia (green-blind)
#5A5E6C
Tritanopia (blue-blind)
#AA1845
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9e1f6f; /* rgb */ color: rgb(158, 31, 111); /* oklch */ color: oklch(47.8% 0.178 347.6);
Tailwind
colors: {
custom: {
50: '#bf6a98',
500: '#9e1f6f',
950: '#000000',
},
}SCSS
$custom: #9e1f6f; $custom-light: #bf6a98; $custom-dark: #000000;
JSON
{
"hex": "#9e1f6f",
"rgb": {
"r": 158,
"g": 31,
"b": 111
},
"hsl": {
"h": 322.205,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.47827,
"c": 0.17778,
"h": 347.6
},
"luminance": 0.09397
}Semantic roles & 50–950 ramp
primary
#9E1F6F
secondary
#56C27E
accent
#EA7E3E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E