#9D1C42#9D1C42
#9D1C42 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.164 H 10.2°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1C42 |
|---|---|
| RGB | rgb(157, 28, 66) |
| HSL | hsl(342, 70%, 36%) |
| HSV | hsv(342, 82%, 62%) |
| CMYK | cmyk(0%, 82.2%, 58%, 38.4%) |
| CIE-LAB | lab(34.79, 53.09, 11.60) |
| CIE-LCH | lch(34.79, 54.35, 12.32°) |
| OKLab | oklab(45.89% 0.161 0.0291) |
| OKLCH | oklch(45.89% 0.164 10.2) |
| XYZ | xyz(15.3048, 8.3942, 5.9676) |
| Luminance | 0.0839 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.23
Raspberry (survey)
#B00149
ΔE00 3.58
Purplish Red
#B0054B
ΔE00 3.75
Purple Red
#990147
ΔE00 4.29
Berry
#990F4B
ΔE00 4.53
Rouge
#AB1239
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1C42 #1C9D77
analogous
#9D1C83 #9D1C42 #9D371C
triadic
#9D1C42 #429D1C #1C429D
tetradic
#9D1C42 #839D1C #1C9D77 #371C9D
square
#9D1C42 #839D1C #1C9D77 #371C9D
split-complementary
#9D1C42 #1C9D37 #1C839D
monochromatic
#350916 #69132C #9D1C42 #D12558 #E0537D
Accessibility & contrast
On white
7.84
#9D1C42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#9D1C42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1C42
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1C42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1C42 | 1.00 | 7.84 | 2.68 | 7.84 |
| #FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414143
Deuteranopia (green-blind)
#625B3F
Tritanopia (blue-blind)
#AC002D
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9d1c42; /* rgb */ color: rgb(157, 28, 66); /* oklch */ color: oklch(45.9% 0.164 10.2);
Tailwind
colors: {
custom: {
50: '#c16776',
500: '#9d1c42',
950: '#000000',
},
}SCSS
$custom: #9d1c42; $custom-light: #c16776; $custom-dark: #000000;
JSON
{
"hex": "#9d1c42",
"rgb": {
"r": 157,
"g": 28,
"b": 66
},
"hsl": {
"h": 342.326,
"s": 69.73,
"l": 36.275
},
"oklch": {
"l": 0.45888,
"c": 0.16361,
"h": 10.2
},
"luminance": 0.08392
}Semantic roles & 50–950 ramp
primary
#9D1C42
secondary
#51C3A2
accent
#EDB83B
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B