#9D1C40#9D1C40
#9D1C40 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.8% C 0.163 H 11.3°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1C40 |
|---|---|
| RGB | rgb(157, 28, 64) |
| HSL | hsl(343, 70%, 36%) |
| HSV | hsv(343, 82%, 62%) |
| CMYK | cmyk(0%, 82.2%, 59.2%, 38.4%) |
| CIE-LAB | lab(34.74, 52.95, 12.84) |
| CIE-LCH | lch(34.74, 54.49, 13.63°) |
| OKLab | oklab(45.84% 0.1602 0.032) |
| OKLCH | oklch(45.84% 0.163 11.3) |
| XYZ | xyz(15.2468, 8.3710, 5.6624) |
| Luminance | 0.0837 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 1.99
Raspberry (survey)
#B00149
ΔE00 3.84
Rouge
#AB1239
ΔE00 4.04
Purplish Red
#B0054B
ΔE00 4.08
Red Wine
#8C0034
ΔE00 4.58
Purple Red
#990147
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1C40 #1C9D79
analogous
#9D1C81 #9D1C40 #9D391C
triadic
#9D1C40 #409D1C #1C409D
tetradic
#9D1C40 #819D1C #1C9D79 #391C9D
square
#9D1C40 #819D1C #1C9D79 #391C9D
split-complementary
#9D1C40 #1C9D39 #1C819D
monochromatic
#350916 #69132B #9D1C40 #D12555 #E0537A
Accessibility & contrast
On white
7.85
#9D1C40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#9D1C40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1C40
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1C40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1C40 | 1.00 | 7.85 | 2.67 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414141
Deuteranopia (green-blind)
#625B3D
Tritanopia (blue-blind)
#AC002C
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9d1c40; /* rgb */ color: rgb(157, 28, 64); /* oklch */ color: oklch(45.8% 0.163 11.3);
Tailwind
colors: {
custom: {
50: '#c16774',
500: '#9d1c40',
950: '#000000',
},
}SCSS
$custom: #9d1c40; $custom-light: #c16774; $custom-dark: #000000;
JSON
{
"hex": "#9d1c40",
"rgb": {
"r": 157,
"g": 28,
"b": 64
},
"hsl": {
"h": 343.256,
"s": 69.73,
"l": 36.275
},
"oklch": {
"l": 0.45839,
"c": 0.16337,
"h": 11.3
},
"luminance": 0.08369
}Semantic roles & 50–950 ramp
primary
#9D1C40
secondary
#51C3A4
accent
#EDBB3B
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B