#9D1D4B#9D1D4B
#9D1D4B is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.164 H 5.7°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1D4B |
|---|---|
| RGB | rgb(157, 29, 75) |
| HSL | hsl(338, 69%, 36%) |
| HSV | hsv(338, 82%, 62%) |
| CMYK | cmyk(0%, 81.5%, 52.2%, 38.4%) |
| CIE-LAB | lab(35.12, 53.51, 6.20) |
| CIE-LCH | lch(35.12, 53.87, 6.61°) |
| OKLab | oklab(46.2% 0.1636 0.0162) |
| OKLCH | oklch(46.2% 0.164 5.7) |
| XYZ | xyz(15.6154, 8.5571, 7.4847) |
| Luminance | 0.0856 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.24
Purple Red
#990147
ΔE00 2.61
Purplish Red
#B0054B
ΔE00 3.59
Violet Red
#A50055
ΔE00 3.72
Raspberry (survey)
#B00149
ΔE00 3.77
Cranberry
#9E003A
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1D4B #1D9D6F
analogous
#9D1D8B #9D1D4B #9D2F1D
triadic
#9D1D4B #4B9D1D #1D4B9D
tetradic
#9D1D4B #8B9D1D #1D9D6F #2F1D9D
square
#9D1D4B #8B9D1D #1D9D6F #2F1D9D
split-complementary
#9D1D4B #1D9D2F #1D8B9D
monochromatic
#360A1A #691332 #9D1D4B #D12764 #E05587
Accessibility & contrast
On white
7.75
#9D1D4B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#9D1D4B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1D4B
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1D4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1D4B | 1.00 | 7.75 | 2.71 | 7.75 |
| #FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F424C
Deuteranopia (green-blind)
#615C48
Tritanopia (blue-blind)
#AB0032
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9d1d4b; /* rgb */ color: rgb(157, 29, 75); /* oklch */ color: oklch(46.2% 0.164 5.7);
Tailwind
colors: {
custom: {
50: '#c0687d',
500: '#9d1d4b',
950: '#000000',
},
}SCSS
$custom: #9d1d4b; $custom-light: #c0687d; $custom-dark: #000000;
JSON
{
"hex": "#9d1d4b",
"rgb": {
"r": 157,
"g": 29,
"b": 75
},
"hsl": {
"h": 338.438,
"s": 68.817,
"l": 36.471
},
"oklch": {
"l": 0.46203,
"c": 0.16442,
"h": 5.7
},
"luminance": 0.08555
}Semantic roles & 50–950 ramp
primary
#9D1D4B
secondary
#53C39B
accent
#ECAD3C
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B