#9E1D48#9E1D48
#9E1D48 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.165 H 7.5°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1D48 |
|---|---|
| RGB | rgb(158, 29, 72) |
| HSL | hsl(340, 69%, 37%) |
| HSV | hsv(340, 82%, 62%) |
| CMYK | cmyk(0%, 81.6%, 54.4%, 38%) |
| CIE-LAB | lab(35.24, 53.55, 8.35) |
| CIE-LCH | lch(35.24, 54.20, 8.86°) |
| OKLab | oklab(46.3% 0.1633 0.0214) |
| OKLCH | oklch(46.3% 0.165 7.5) |
| XYZ | xyz(15.7111, 8.6180, 6.9658) |
| Luminance | 0.0862 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.12
Purple Red
#990147
ΔE00 3.20
Purplish Red
#B0054B
ΔE00 3.21
Raspberry (survey)
#B00149
ΔE00 3.27
Cranberry
#9E003A
ΔE00 3.55
Violet Red
#A50055
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1D48 #1D9E73
analogous
#9E1D89 #9E1D48 #9E331D
triadic
#9E1D48 #489E1D #1D489E
tetradic
#9E1D48 #899E1D #1D9E73 #331D9E
square
#9E1D48 #899E1D #1D9E73 #331D9E
split-complementary
#9E1D48 #1D9E33 #1D899E
monochromatic
#370A19 #6A1430 #9E1D48 #D22660 #E05684
Accessibility & contrast
On white
7.71
#9E1D48 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#9E1D48 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1D48
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1D48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1D48 | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404249
Deuteranopia (green-blind)
#625C45
Tritanopia (blue-blind)
#AD0030
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9e1d48; /* rgb */ color: rgb(158, 29, 72); /* oklch */ color: oklch(46.3% 0.165 7.5);
Tailwind
colors: {
custom: {
50: '#c1687a',
500: '#9e1d48',
950: '#000000',
},
}SCSS
$custom: #9e1d48; $custom-light: #c1687a; $custom-dark: #000000;
JSON
{
"hex": "#9e1d48",
"rgb": {
"r": 158,
"g": 29,
"b": 72
},
"hsl": {
"h": 340,
"s": 68.984,
"l": 36.667
},
"oklch": {
"l": 0.46302,
"c": 0.16466,
"h": 7.5
},
"luminance": 0.08616
}Semantic roles & 50–950 ramp
primary
#9E1D48
secondary
#54C39E
accent
#ECB13C
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#130709
muted
#827A7B