#9D1F47#9D1F47
#9D1F47 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.162 H 8.1°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1F47 |
|---|---|
| RGB | rgb(157, 31, 71) |
| HSL | hsl(341, 67%, 37%) |
| HSV | hsv(341, 80%, 62%) |
| CMYK | cmyk(0%, 80.3%, 54.8%, 38.4%) |
| CIE-LAB | lab(35.21, 52.62, 8.94) |
| CIE-LCH | lch(35.21, 53.38, 9.64°) |
| OKLab | oklab(46.24% 0.1602 0.0228) |
| OKLCH | oklch(46.24% 0.162 8.1) |
| XYZ | xyz(15.5334, 8.6052, 6.8031) |
| Luminance | 0.0860 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 3.37
Purplish Red
#B0054B
ΔE00 3.41
Raspberry (survey)
#B00149
ΔE00 3.42
Berry
#990F4B
ΔE00 3.46
Purple Red
#990147
ΔE00 3.50
Violet Red
#A50055
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1F47 #1F9D75
analogous
#9D1F86 #9D1F47 #9D361F
triadic
#9D1F47 #479D1F #1F479D
tetradic
#9D1F47 #869D1F #1F9D75 #361F9D
square
#9D1F47 #869D1F #1F9D75 #361F9D
split-complementary
#9D1F47 #1F9D36 #1F869D
monochromatic
#370B19 #6A1530 #9D1F47 #D0295E #DE5883
Accessibility & contrast
On white
7.72
#9D1F47 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#9D1F47 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1F47
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1F47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1F47 | 1.00 | 7.72 | 2.72 | 7.72 |
| #FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414348
Deuteranopia (green-blind)
#625C44
Tritanopia (blue-blind)
#AC0031
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9d1f47; /* rgb */ color: rgb(157, 31, 71); /* oklch */ color: oklch(46.2% 0.162 8.1);
Tailwind
colors: {
custom: {
50: '#c06879',
500: '#9d1f47',
950: '#000000',
},
}SCSS
$custom: #9d1f47; $custom-light: #c06879; $custom-dark: #000000;
JSON
{
"hex": "#9d1f47",
"rgb": {
"r": 157,
"g": 31,
"b": 71
},
"hsl": {
"h": 340.952,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.46239,
"c": 0.16185,
"h": 8.1
},
"luminance": 0.08603
}Semantic roles & 50–950 ramp
primary
#9D1F47
secondary
#56C2A0
accent
#EAB33E
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B