#9E1F63#9E1F63
#9E1F63 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.3% C 0.172 H 353.6°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1F63 |
|---|---|
| RGB | rgb(158, 31, 99) |
| HSL | hsl(328, 67%, 37%) |
| HSV | hsv(328, 80%, 62%) |
| CMYK | cmyk(0%, 80.4%, 37.3%, 38%) |
| CIE-LAB | lab(36.28, 55.52, -7.54) |
| CIE-LCH | lch(36.28, 56.03, 352.27°) |
| OKLab | oklab(47.34% 0.1706 -0.0193) |
| OKLCH | oklch(47.34% 0.172 353.6) |
| XYZ | xyz(16.8438, 9.1520, 12.6815) |
| Luminance | 0.0915 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Magenta
#A0025C
ΔE00 2.25
Dark Fuchsia
#9D0759
ΔE00 2.56
Red Violet
#9E0168
ΔE00 3.10
Dark Magenta
#960056
ΔE00 3.57
Violet Red
#A50055
ΔE00 4.03
Reddish Purple
#910951
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1F63 #1F9E5A
analogous
#9A1F9E #9E1F63 #9E1F23
triadic
#9E1F63 #639E1F #1F639E
tetradic
#9E1F63 #9E9A1F #1F9E5A #1F239E
square
#9E1F63 #9E9A1F #1F9E5A #1F239E
split-complementary
#9E1F63 #239E1F #1F9E9A
monochromatic
#380B23 #6B1543 #9E1F63 #D12983 #DE59A0
Accessibility & contrast
On white
7.42
#9E1F63 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#9E1F63 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1F63
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1F63 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1F63 | 1.00 | 7.42 | 2.83 | 7.42 |
| #FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394765
Deuteranopia (green-blind)
#5D5E60
Tritanopia (blue-blind)
#AB0E3F
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #9e1f63; /* rgb */ color: rgb(158, 31, 99); /* oklch */ color: oklch(47.3% 0.172 353.6);
Tailwind
colors: {
custom: {
50: '#bf698f',
500: '#9e1f63',
950: '#000000',
},
}SCSS
$custom: #9e1f63; $custom-light: #bf698f; $custom-dark: #000000;
JSON
{
"hex": "#9e1f63",
"rgb": {
"r": 158,
"g": 31,
"b": 99
},
"hsl": {
"h": 327.874,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.47336,
"c": 0.17172,
"h": 353.6
},
"luminance": 0.0915
}Semantic roles & 50–950 ramp
primary
#9E1F63
secondary
#56C289
accent
#EA8E3E
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D