#9D1F4F#9D1F4F
#9D1F4F is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.164 H 3.8°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1F4F |
|---|---|
| RGB | rgb(157, 31, 79) |
| HSL | hsl(337, 67%, 37%) |
| HSV | hsv(337, 80%, 62%) |
| CMYK | cmyk(0%, 80.3%, 49.7%, 38.4%) |
| CIE-LAB | lab(35.43, 53.29, 4.06) |
| CIE-LCH | lch(35.43, 53.44, 4.35°) |
| OKLab | oklab(46.47% 0.1633 0.0109) |
| OKLCH | oklch(46.47% 0.164 3.8) |
| XYZ | xyz(15.8073, 8.7148, 8.2454) |
| Luminance | 0.0871 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.99
Purple Red
#990147
ΔE00 2.75
Violet Red
#A50055
ΔE00 2.97
Purplish Red
#B0054B
ΔE00 4.09
Mulberry
#920A4E
ΔE00 4.10
Raspberry (survey)
#B00149
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1F4F #1F9D6D
analogous
#9D1F8E #9D1F4F #9D2E1F
triadic
#9D1F4F #4F9D1F #1F4F9D
tetradic
#9D1F4F #8E9D1F #1F9D6D #2E1F9D
square
#9D1F4F #8E9D1F #1F9D6D #2E1F9D
split-complementary
#9D1F4F #1F9D2E #1F8E9D
monochromatic
#370B1C #6A1535 #9D1F4F #D02969 #DE588B
Accessibility & contrast
On white
7.66
#9D1F4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#9D1F4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1F4F
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1F4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1F4F | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4450
Deuteranopia (green-blind)
#605C4C
Tritanopia (blue-blind)
#AB0034
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9d1f4f; /* rgb */ color: rgb(157, 31, 79); /* oklch */ color: oklch(46.5% 0.164 3.8);
Tailwind
colors: {
custom: {
50: '#c06980',
500: '#9d1f4f',
950: '#000000',
},
}SCSS
$custom: #9d1f4f; $custom-light: #c06980; $custom-dark: #000000;
JSON
{
"hex": "#9d1f4f",
"rgb": {
"r": 157,
"g": 31,
"b": 79
},
"hsl": {
"h": 337.143,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.46469,
"c": 0.16363,
"h": 3.8
},
"luminance": 0.08713
}Semantic roles & 50–950 ramp
primary
#9D1F4F
secondary
#56C299
accent
#EAA83E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C