#9D1F49#9D1F49
#9D1F49 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.162 H 7.0°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1F49 |
|---|---|
| RGB | rgb(157, 31, 73) |
| HSL | hsl(340, 67%, 37%) |
| HSV | hsv(340, 80%, 62%) |
| CMYK | cmyk(0%, 80.3%, 53.5%, 38.4%) |
| CIE-LAB | lab(35.26, 52.78, 7.71) |
| CIE-LCH | lch(35.26, 53.34, 8.31°) |
| OKLab | oklab(46.29% 0.161 0.0199) |
| OKLCH | oklch(46.29% 0.162 7) |
| XYZ | xyz(15.5987, 8.6313, 7.1467) |
| Luminance | 0.0863 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.96
Purple Red
#990147
ΔE00 3.14
Purplish Red
#B0054B
ΔE00 3.43
Raspberry (survey)
#B00149
ΔE00 3.52
Cranberry
#9E003A
ΔE00 3.87
Violet Red
#A50055
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1F49 #1F9D73
analogous
#9D1F88 #9D1F49 #9D341F
triadic
#9D1F49 #499D1F #1F499D
tetradic
#9D1F49 #889D1F #1F9D73 #341F9D
square
#9D1F49 #889D1F #1F9D73 #341F9D
split-complementary
#9D1F49 #1F9D34 #1F889D
monochromatic
#370B19 #6A1531 #9D1F49 #D02961 #DE5885
Accessibility & contrast
On white
7.70
#9D1F49 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#9D1F49 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1F49
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1F49 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1F49 | 1.00 | 7.70 | 2.73 | 7.70 |
| #FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#41434A
Deuteranopia (green-blind)
#615C46
Tritanopia (blue-blind)
#AC0032
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9d1f49; /* rgb */ color: rgb(157, 31, 73); /* oklch */ color: oklch(46.3% 0.162 7.0);
Tailwind
colors: {
custom: {
50: '#c0687b',
500: '#9d1f49',
950: '#000000',
},
}SCSS
$custom: #9d1f49; $custom-light: #c0687b; $custom-dark: #000000;
JSON
{
"hex": "#9d1f49",
"rgb": {
"r": 157,
"g": 31,
"b": 73
},
"hsl": {
"h": 340,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.46294,
"c": 0.16223,
"h": 7
},
"luminance": 0.08629
}Semantic roles & 50–950 ramp
primary
#9D1F49
secondary
#56C29E
accent
#EAB13E
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B