#9E1752#9E1752
#9E1752 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.2% C 0.172 H 1.5°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1752 |
|---|---|
| RGB | rgb(158, 23, 82) |
| HSL | hsl(334, 75%, 35%) |
| HSV | hsv(334, 85%, 62%) |
| CMYK | cmyk(0%, 85.4%, 48.1%, 38%) |
| CIE-LAB | lab(34.99, 55.90, 1.50) |
| CIE-LCH | lch(34.99, 55.92, 1.54°) |
| OKLab | oklab(46.21% 0.1719 0.0045) |
| OKLCH | oklch(46.21% 0.172 1.5) |
| XYZ | xyz(15.9313, 8.4933, 8.7815) |
| Luminance | 0.0849 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 1.66
Berry
#990F4B
ΔE00 1.72
Purple Red
#990147
ΔE00 2.66
Dark Fuchsia
#9D0759
ΔE00 2.95
Mulberry
#920A4E
ΔE00 3.08
Deep Magenta
#A0025C
ΔE00 3.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1752 #179E63
analogous
#9E1795 #9E1752 #9E2017
triadic
#9E1752 #529E17 #17529E
tetradic
#9E1752 #959E17 #179E63 #20179E
square
#9E1752 #959E17 #179E63 #20179E
split-complementary
#9E1752 #179E20 #17959E
monochromatic
#33071B #690F36 #9E1752 #D31F6E #E54B8E
Accessibility & contrast
On white
7.78
#9E1752 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#9E1752 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1752
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1752 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1752 | 1.00 | 7.78 | 2.70 | 7.78 |
| #FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B4253
Deuteranopia (green-blind)
#5F5B4F
Tritanopia (blue-blind)
#AC0033
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9e1752; /* rgb */ color: rgb(158, 23, 82); /* oklch */ color: oklch(46.2% 0.172 1.5);
Tailwind
colors: {
custom: {
50: '#c16682',
500: '#9e1752',
950: '#000000',
},
}SCSS
$custom: #9e1752; $custom-light: #c16682; $custom-dark: #000000;
JSON
{
"hex": "#9e1752",
"rgb": {
"r": 158,
"g": 23,
"b": 82
},
"hsl": {
"h": 333.778,
"s": 74.586,
"l": 35.49
},
"oklch": {
"l": 0.46212,
"c": 0.17191,
"h": 1.5
},
"luminance": 0.08491
}Semantic roles & 50–950 ramp
primary
#9E1752
secondary
#4AC690
accent
#F1A037
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C