#9E1547#9E1547
#9E1547 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.170 H 6.9°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1547 |
|---|---|
| RGB | rgb(158, 21, 71) |
| HSL | hsl(338, 77%, 35%) |
| HSV | hsv(338, 87%, 62%) |
| CMYK | cmyk(0%, 86.7%, 55.1%, 38%) |
| CIE-LAB | lab(34.52, 55.44, 8.00) |
| CIE-LCH | lch(34.52, 56.01, 8.21°) |
| OKLab | oklab(45.77% 0.1693 0.0205) |
| OKLCH | oklch(45.77% 0.17 6.9) |
| XYZ | xyz(15.5076, 8.2627, 6.7383) |
| Luminance | 0.0826 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.45
Berry
#990F4B
ΔE00 2.55
Purplish Red
#B0054B
ΔE00 3.29
Raspberry (survey)
#B00149
ΔE00 3.34
Cranberry
#9E003A
ΔE00 3.40
Violet Red
#A50055
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1547 #159E6C
analogous
#9E158C #9E1547 #9E2715
triadic
#9E1547 #479E15 #15479E
tetradic
#9E1547 #8C9E15 #159E6C #27159E
square
#9E1547 #8C9E15 #159E6C #27159E
split-complementary
#9E1547 #159E27 #158C9E
monochromatic
#320716 #680E2F #9E1547 #D41C5F #E74781
Accessibility & contrast
On white
7.92
#9E1547 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#9E1547 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1547
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1547 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1547 | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D4048
Deuteranopia (green-blind)
#605B44
Tritanopia (blue-blind)
#AD002D
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9e1547; /* rgb */ color: rgb(158, 21, 71); /* oklch */ color: oklch(45.8% 0.170 6.9);
Tailwind
colors: {
custom: {
50: '#c16579',
500: '#9e1547',
950: '#000000',
},
}SCSS
$custom: #9e1547; $custom-light: #c16579; $custom-dark: #000000;
JSON
{
"hex": "#9e1547",
"rgb": {
"r": 158,
"g": 21,
"b": 71
},
"hsl": {
"h": 338.102,
"s": 76.536,
"l": 35.098
},
"oklch": {
"l": 0.45769,
"c": 0.17049,
"h": 6.9
},
"luminance": 0.0826
}Semantic roles & 50–950 ramp
primary
#9E1547
secondary
#47C799
accent
#F3AE35
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B