#9E1538#9E1538
#9E1538 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.4% C 0.169 H 14.4°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1538 |
|---|---|
| RGB | rgb(158, 21, 56) |
| HSL | hsl(345, 77%, 35%) |
| HSV | hsv(345, 87%, 62%) |
| CMYK | cmyk(0%, 86.7%, 64.6%, 38%) |
| CIE-LAB | lab(34.18, 54.43, 17.32) |
| CIE-LCH | lch(34.18, 57.12, 17.65°) |
| OKLab | oklab(45.4% 0.1633 0.0419) |
| OKLCH | oklch(45.4% 0.169 14.4) |
| XYZ | xyz(15.0842, 8.0933, 4.5085) |
| Luminance | 0.0809 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.19
Rouge
#AB1239
ΔE00 2.66
Red Wine
#8C0034
ΔE00 4.80
Raspberry (survey)
#B00149
ΔE00 5.16
Purplish Red
#B0054B
ΔE00 5.55
Rose Red
#BE013C
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1538 #159E7B
analogous
#9E157C #9E1538 #9E3715
triadic
#9E1538 #389E15 #15389E
tetradic
#9E1538 #7C9E15 #159E7B #37159E
square
#9E1538 #7C9E15 #159E7B #37159E
split-complementary
#9E1538 #159E37 #157C9E
monochromatic
#320712 #680E25 #9E1538 #D41C4B #E74770
Accessibility & contrast
On white
8.02
#9E1538 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#9E1538 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1538
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1538 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1538 | 1.00 | 8.02 | 2.62 | 8.02 |
| #FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#403F38
Deuteranopia (green-blind)
#625A34
Tritanopia (blue-blind)
#AE0025
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #9e1538; /* rgb */ color: rgb(158, 21, 56); /* oklch */ color: oklch(45.4% 0.169 14.4);
Tailwind
colors: {
custom: {
50: '#c2656e',
500: '#9e1538',
950: '#000000',
},
}SCSS
$custom: #9e1538; $custom-light: #c2656e; $custom-dark: #000000;
JSON
{
"hex": "#9e1538",
"rgb": {
"r": 158,
"g": 21,
"b": 56
},
"hsl": {
"h": 344.672,
"s": 76.536,
"l": 35.098
},
"oklch": {
"l": 0.45401,
"c": 0.16857,
"h": 14.4
},
"luminance": 0.08091
}Semantic roles & 50–950 ramp
primary
#9E1538
secondary
#47C7A7
accent
#F3C235
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140607
muted
#827A7A