#9E1F62#9E1F62
#9E1F62 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.3% C 0.171 H 354.1°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1F62 |
|---|---|
| RGB | rgb(158, 31, 98) |
| HSL | hsl(328, 67%, 37%) |
| HSV | hsv(328, 80%, 62%) |
| CMYK | cmyk(0%, 80.4%, 38%, 38%) |
| CIE-LAB | lab(36.24, 55.41, -6.96) |
| CIE-LCH | lch(36.24, 55.85, 352.84°) |
| OKLab | oklab(47.3% 0.1704 -0.0177) |
| OKLCH | oklch(47.3% 0.171 354.1) |
| XYZ | xyz(16.7963, 9.1330, 12.4313) |
| Luminance | 0.0913 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Magenta
#A0025C
ΔE00 2.14
Dark Fuchsia
#9D0759
ΔE00 2.40
Red Violet
#9E0168
ΔE00 3.29
Dark Magenta
#960056
ΔE00 3.49
Violet Red
#A50055
ΔE00 3.81
Reddish Purple
#910951
ΔE00 4.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1F62 #1F9E5B
analogous
#9A1F9E #9E1F62 #9E1F23
triadic
#9E1F62 #629E1F #1F629E
tetradic
#9E1F62 #9E9A1F #1F9E5B #1F239E
square
#9E1F62 #9E9A1F #1F9E5B #1F239E
split-complementary
#9E1F62 #239E1F #1F9E9A
monochromatic
#380B23 #6B1542 #9E1F62 #D12982 #DE599F
Accessibility & contrast
On white
7.43
#9E1F62 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#9E1F62 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1F62
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1F62 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1F62 | 1.00 | 7.43 | 2.83 | 7.43 |
| #FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394664
Deuteranopia (green-blind)
#5D5E5F
Tritanopia (blue-blind)
#AB0D3E
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #9e1f62; /* rgb */ color: rgb(158, 31, 98); /* oklch */ color: oklch(47.3% 0.171 354.1);
Tailwind
colors: {
custom: {
50: '#c0698e',
500: '#9e1f62',
950: '#000000',
},
}SCSS
$custom: #9e1f62; $custom-light: #c0698e; $custom-dark: #000000;
JSON
{
"hex": "#9e1f62",
"rgb": {
"r": 158,
"g": 31,
"b": 98
},
"hsl": {
"h": 328.346,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.47298,
"c": 0.17128,
"h": 354.1
},
"luminance": 0.09131
}Semantic roles & 50–950 ramp
primary
#9E1F62
secondary
#56C289
accent
#EA8F3E
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D