#9D1F4D#9D1F4D
#9D1F4D is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.163 H 4.9°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1F4D |
|---|---|
| RGB | rgb(157, 31, 77) |
| HSL | hsl(338, 67%, 37%) |
| HSV | hsv(338, 80%, 62%) |
| CMYK | cmyk(0%, 80.3%, 51%, 38.4%) |
| CIE-LAB | lab(35.37, 53.11, 5.27) |
| CIE-LCH | lch(35.37, 53.37, 5.67°) |
| OKLab | oklab(46.41% 0.1625 0.0139) |
| OKLCH | oklch(46.41% 0.163 4.9) |
| XYZ | xyz(15.7356, 8.6861, 7.8677) |
| Luminance | 0.0868 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.18
Purple Red
#990147
ΔE00 2.74
Violet Red
#A50055
ΔE00 3.44
Purplish Red
#B0054B
ΔE00 3.78
Raspberry (survey)
#B00149
ΔE00 4.02
Mulberry
#920A4E
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1F4D #1F9D6F
analogous
#9D1F8C #9D1F4D #9D301F
triadic
#9D1F4D #4D9D1F #1F4D9D
tetradic
#9D1F4D #8C9D1F #1F9D6F #301F9D
square
#9D1F4D #8C9D1F #1F9D6F #301F9D
split-complementary
#9D1F4D #1F9D30 #1F8C9D
monochromatic
#370B1B #6A1534 #9D1F4D #D02966 #DE5889
Accessibility & contrast
On white
7.67
#9D1F4D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#9D1F4D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1F4D
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1F4D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1F4D | 1.00 | 7.67 | 2.74 | 7.67 |
| #FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#40434E
Deuteranopia (green-blind)
#615C4A
Tritanopia (blue-blind)
#AB0033
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9d1f4d; /* rgb */ color: rgb(157, 31, 77); /* oklch */ color: oklch(46.4% 0.163 4.9);
Tailwind
colors: {
custom: {
50: '#c0697e',
500: '#9d1f4d',
950: '#000000',
},
}SCSS
$custom: #9d1f4d; $custom-light: #c0697e; $custom-dark: #000000;
JSON
{
"hex": "#9d1f4d",
"rgb": {
"r": 157,
"g": 31,
"b": 77
},
"hsl": {
"h": 338.095,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.46409,
"c": 0.16312,
"h": 4.9
},
"luminance": 0.08684
}Semantic roles & 50–950 ramp
primary
#9D1F4D
secondary
#56C29A
accent
#EAAB3E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B