#9E1548#9E1548
#9E1548 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.171 H 6.4°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1548 |
|---|---|
| RGB | rgb(158, 21, 72) |
| HSL | hsl(338, 77%, 35%) |
| HSV | hsv(338, 87%, 62%) |
| CMYK | cmyk(0%, 86.7%, 54.4%, 38%) |
| CIE-LAB | lab(34.55, 55.52, 7.39) |
| CIE-LCH | lch(34.55, 56.00, 7.58°) |
| OKLab | oklab(45.8% 0.1696 0.0191) |
| OKLCH | oklch(45.8% 0.171 6.4) |
| XYZ | xyz(15.5399, 8.2756, 6.9087) |
| Luminance | 0.0827 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.26
Berry
#990F4B
ΔE00 2.28
Purplish Red
#B0054B
ΔE00 3.34
Raspberry (survey)
#B00149
ΔE00 3.43
Cranberry
#9E003A
ΔE00 3.69
Violet Red
#A50055
ΔE00 3.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1548 #159E6B
analogous
#9E158D #9E1548 #9E2615
triadic
#9E1548 #489E15 #15489E
tetradic
#9E1548 #8D9E15 #159E6B #26159E
square
#9E1548 #8D9E15 #159E6B #26159E
split-complementary
#9E1548 #159E26 #158D9E
monochromatic
#320717 #680E2F #9E1548 #D41C61 #E74782
Accessibility & contrast
On white
7.91
#9E1548 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#9E1548 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1548
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1548 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1548 | 1.00 | 7.91 | 2.65 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D4049
Deuteranopia (green-blind)
#605B45
Tritanopia (blue-blind)
#AD002D
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9e1548; /* rgb */ color: rgb(158, 21, 72); /* oklch */ color: oklch(45.8% 0.171 6.4);
Tailwind
colors: {
custom: {
50: '#c1657a',
500: '#9e1548',
950: '#000000',
},
}SCSS
$custom: #9e1548; $custom-light: #c1657a; $custom-dark: #000000;
JSON
{
"hex": "#9e1548",
"rgb": {
"r": 158,
"g": 21,
"b": 72
},
"hsl": {
"h": 337.664,
"s": 76.536,
"l": 35.098
},
"oklch": {
"l": 0.45797,
"c": 0.1707,
"h": 6.4
},
"luminance": 0.08273
}Semantic roles & 50–950 ramp
primary
#9E1548
secondary
#47C798
accent
#F3AC35
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B