#9E1F52#9E1F52
#9E1F52 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.7% C 0.165 H 2.5°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1F52 |
|---|---|
| RGB | rgb(158, 31, 82) |
| HSL | hsl(336, 67%, 37%) |
| HSV | hsv(336, 80%, 62%) |
| CMYK | cmyk(0%, 80.4%, 48.1%, 38%) |
| CIE-LAB | lab(35.71, 53.83, 2.55) |
| CIE-LCH | lch(35.71, 53.89, 2.71°) |
| OKLab | oklab(46.74% 0.1652 0.0071) |
| OKLCH | oklch(46.74% 0.165 2.5) |
| XYZ | xyz(16.1149, 8.8605, 8.8427) |
| Luminance | 0.0886 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.16
Violet Red
#A50055
ΔE00 2.43
Purple Red
#990147
ΔE00 3.07
Dark Fuchsia
#9D0759
ΔE00 3.81
Mulberry
#920A4E
ΔE00 3.86
Deep Magenta
#A0025C
ΔE00 4.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1F52 #1F9E6B
analogous
#9E1F91 #9E1F52 #9E2C1F
triadic
#9E1F52 #529E1F #1F529E
tetradic
#9E1F52 #919E1F #1F9E6B #2C1F9E
square
#9E1F52 #919E1F #1F9E6B #2C1F9E
split-complementary
#9E1F52 #1F9E2C #1F919E
monochromatic
#380B1D #6B1537 #9E1F52 #D1296D #DE598F
Accessibility & contrast
On white
7.58
#9E1F52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#9E1F52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1F52
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1F52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1F52 | 1.00 | 7.58 | 2.77 | 7.58 |
| #FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4453
Deuteranopia (green-blind)
#605D4F
Tritanopia (blue-blind)
#AC0036
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9e1f52; /* rgb */ color: rgb(158, 31, 82); /* oklch */ color: oklch(46.7% 0.165 2.5);
Tailwind
colors: {
custom: {
50: '#c06982',
500: '#9e1f52',
950: '#000000',
},
}SCSS
$custom: #9e1f52; $custom-light: #c06982; $custom-dark: #000000;
JSON
{
"hex": "#9e1f52",
"rgb": {
"r": 158,
"g": 31,
"b": 82
},
"hsl": {
"h": 335.906,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.46742,
"c": 0.16532,
"h": 2.5
},
"luminance": 0.08858
}Semantic roles & 50–950 ramp
primary
#9E1F52
secondary
#56C297
accent
#EAA53E
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C