#9E1D4A#9E1D4A
#9E1D4A is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.4% C 0.165 H 6.4°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1D4A |
|---|---|
| RGB | rgb(158, 29, 74) |
| HSL | hsl(339, 69%, 37%) |
| HSV | hsv(339, 82%, 62%) |
| CMYK | cmyk(0%, 81.6%, 53.2%, 38%) |
| CIE-LAB | lab(35.29, 53.71, 7.13) |
| CIE-LCH | lch(35.29, 54.18, 7.56°) |
| OKLab | oklab(46.36% 0.164 0.0185) |
| OKLCH | oklch(46.36% 0.165 6.4) |
| XYZ | xyz(15.7774, 8.6445, 7.3150) |
| Luminance | 0.0864 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.65
Purple Red
#990147
ΔE00 2.88
Purplish Red
#B0054B
ΔE00 3.29
Raspberry (survey)
#B00149
ΔE00 3.44
Violet Red
#A50055
ΔE00 4.07
Cranberry
#9E003A
ΔE00 4.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1D4A #1D9E71
analogous
#9E1D8B #9E1D4A #9E311D
triadic
#9E1D4A #4A9E1D #1D4A9E
tetradic
#9E1D4A #8B9E1D #1D9E71 #311D9E
square
#9E1D4A #8B9E1D #1D9E71 #311D9E
split-complementary
#9E1D4A #1D9E31 #1D8B9E
monochromatic
#370A1A #6A1432 #9E1D4A #D22662 #E05686
Accessibility & contrast
On white
7.70
#9E1D4A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#9E1D4A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1D4A
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1D4A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1D4A | 1.00 | 7.70 | 2.73 | 7.70 |
| #FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#40434B
Deuteranopia (green-blind)
#615C47
Tritanopia (blue-blind)
#AD0031
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9e1d4a; /* rgb */ color: rgb(158, 29, 74); /* oklch */ color: oklch(46.4% 0.165 6.4);
Tailwind
colors: {
custom: {
50: '#c1687c',
500: '#9e1d4a',
950: '#000000',
},
}SCSS
$custom: #9e1d4a; $custom-light: #c1687c; $custom-dark: #000000;
JSON
{
"hex": "#9e1d4a",
"rgb": {
"r": 158,
"g": 29,
"b": 74
},
"hsl": {
"h": 339.07,
"s": 68.984,
"l": 36.667
},
"oklch": {
"l": 0.46358,
"c": 0.16507,
"h": 6.4
},
"luminance": 0.08642
}Semantic roles & 50–950 ramp
primary
#9E1D4A
secondary
#54C39C
accent
#ECAE3C
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B