#9D1D4C#9D1D4C
#9D1D4C is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.165 H 5.1°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1D4C |
|---|---|
| RGB | rgb(157, 29, 76) |
| HSL | hsl(338, 69%, 36%) |
| HSV | hsv(338, 82%, 62%) |
| CMYK | cmyk(0%, 81.5%, 51.6%, 38.4%) |
| CIE-LAB | lab(35.14, 53.60, 5.59) |
| CIE-LCH | lch(35.14, 53.89, 5.96°) |
| OKLab | oklab(46.23% 0.164 0.0147) |
| OKLCH | oklch(46.23% 0.165 5.1) |
| XYZ | xyz(15.6499, 8.5708, 7.6663) |
| Luminance | 0.0857 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.06
Purple Red
#990147
ΔE00 2.54
Violet Red
#A50055
ΔE00 3.46
Purplish Red
#B0054B
ΔE00 3.71
Raspberry (survey)
#B00149
ΔE00 3.92
Mulberry
#920A4E
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1D4C #1D9D6E
analogous
#9D1D8C #9D1D4C #9D2E1D
triadic
#9D1D4C #4C9D1D #1D4C9D
tetradic
#9D1D4C #8C9D1D #1D9D6E #2E1D9D
square
#9D1D4C #8C9D1D #1D9D6E #2E1D9D
split-complementary
#9D1D4C #1D9D2E #1D8C9D
monochromatic
#360A1A #691333 #9D1D4C #D12765 #E05588
Accessibility & contrast
On white
7.74
#9D1D4C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#9D1D4C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1D4C
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1D4C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1D4C | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F434D
Deuteranopia (green-blind)
#605C49
Tritanopia (blue-blind)
#AB0032
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9d1d4c; /* rgb */ color: rgb(157, 29, 76); /* oklch */ color: oklch(46.2% 0.165 5.1);
Tailwind
colors: {
custom: {
50: '#c0687d',
500: '#9d1d4c',
950: '#000000',
},
}SCSS
$custom: #9d1d4c; $custom-light: #c0687d; $custom-dark: #000000;
JSON
{
"hex": "#9d1d4c",
"rgb": {
"r": 157,
"g": 29,
"b": 76
},
"hsl": {
"h": 337.969,
"s": 68.817,
"l": 36.471
},
"oklch": {
"l": 0.46232,
"c": 0.16465,
"h": 5.1
},
"luminance": 0.08569
}Semantic roles & 50–950 ramp
primary
#9D1D4C
secondary
#53C39A
accent
#ECAB3C
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B