#9D1F48#9D1F48
#9D1F48 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.162 H 7.6°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1F48 |
|---|---|
| RGB | rgb(157, 31, 72) |
| HSL | hsl(340, 67%, 37%) |
| HSV | hsv(340, 80%, 62%) |
| CMYK | cmyk(0%, 80.3%, 54.1%, 38.4%) |
| CIE-LAB | lab(35.24, 52.70, 8.32) |
| CIE-LCH | lch(35.24, 53.35, 8.97°) |
| OKLab | oklab(46.27% 0.1606 0.0214) |
| OKLCH | oklch(46.27% 0.162 7.6) |
| XYZ | xyz(15.5658, 8.6182, 6.9735) |
| Luminance | 0.0862 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.20
Purple Red
#990147
ΔE00 3.31
Purplish Red
#B0054B
ΔE00 3.40
Raspberry (survey)
#B00149
ΔE00 3.46
Cranberry
#9E003A
ΔE00 3.61
Violet Red
#A50055
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1F48 #1F9D74
analogous
#9D1F87 #9D1F48 #9D351F
triadic
#9D1F48 #489D1F #1F489D
tetradic
#9D1F48 #879D1F #1F9D74 #351F9D
square
#9D1F48 #879D1F #1F9D74 #351F9D
split-complementary
#9D1F48 #1F9D35 #1F879D
monochromatic
#370B19 #6A1531 #9D1F48 #D0295F #DE5884
Accessibility & contrast
On white
7.71
#9D1F48 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#9D1F48 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1F48
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1F48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1F48 | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414349
Deuteranopia (green-blind)
#625C45
Tritanopia (blue-blind)
#AC0031
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9d1f48; /* rgb */ color: rgb(157, 31, 72); /* oklch */ color: oklch(46.3% 0.162 7.6);
Tailwind
colors: {
custom: {
50: '#c0687a',
500: '#9d1f48',
950: '#000000',
},
}SCSS
$custom: #9d1f48; $custom-light: #c0687a; $custom-dark: #000000;
JSON
{
"hex": "#9d1f48",
"rgb": {
"r": 157,
"g": 31,
"b": 72
},
"hsl": {
"h": 340.476,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.46267,
"c": 0.16204,
"h": 7.6
},
"luminance": 0.08616
}Semantic roles & 50–950 ramp
primary
#9D1F48
secondary
#56C29F
accent
#EAB23E
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B