#9D1D4D#9D1D4D
#9D1D4D is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.165 H 4.6°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1D4D |
|---|---|
| RGB | rgb(157, 29, 77) |
| HSL | hsl(338, 69%, 36%) |
| HSV | hsv(338, 82%, 62%) |
| CMYK | cmyk(0%, 81.5%, 51%, 38.4%) |
| CIE-LAB | lab(35.17, 53.68, 4.99) |
| CIE-LCH | lch(35.17, 53.91, 5.31°) |
| OKLab | oklab(46.26% 0.1644 0.0132) |
| OKLCH | oklch(46.26% 0.165 4.6) |
| XYZ | xyz(15.6850, 8.5849, 7.8509) |
| Luminance | 0.0858 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.92
Purple Red
#990147
ΔE00 2.51
Violet Red
#A50055
ΔE00 3.21
Purplish Red
#B0054B
ΔE00 3.85
Raspberry (survey)
#B00149
ΔE00 4.08
Mulberry
#920A4E
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1D4D #1D9D6D
analogous
#9D1D8D #9D1D4D #9D2D1D
triadic
#9D1D4D #4D9D1D #1D4D9D
tetradic
#9D1D4D #8D9D1D #1D9D6D #2D1D9D
square
#9D1D4D #8D9D1D #1D9D6D #2D1D9D
split-complementary
#9D1D4D #1D9D2D #1D8D9D
monochromatic
#360A1A #691334 #9D1D4D #D12766 #E05589
Accessibility & contrast
On white
7.73
#9D1D4D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#9D1D4D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1D4D
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1D4D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1D4D | 1.00 | 7.73 | 2.72 | 7.73 |
| #FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F434E
Deuteranopia (green-blind)
#605C4A
Tritanopia (blue-blind)
#AB0033
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9d1d4d; /* rgb */ color: rgb(157, 29, 77); /* oklch */ color: oklch(46.3% 0.165 4.6);
Tailwind
colors: {
custom: {
50: '#c0687e',
500: '#9d1d4d',
950: '#000000',
},
}SCSS
$custom: #9d1d4d; $custom-light: #c0687e; $custom-dark: #000000;
JSON
{
"hex": "#9d1d4d",
"rgb": {
"r": 157,
"g": 29,
"b": 77
},
"hsl": {
"h": 337.5,
"s": 68.817,
"l": 36.471
},
"oklch": {
"l": 0.46262,
"c": 0.1649,
"h": 4.6
},
"luminance": 0.08583
}Semantic roles & 50–950 ramp
primary
#9D1D4D
secondary
#53C399
accent
#ECAA3C
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B