#9D1F40#9D1F40
#9D1F40 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.161 H 11.8°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1F40 |
|---|---|
| RGB | rgb(157, 31, 64) |
| HSL | hsl(344, 67%, 37%) |
| HSV | hsv(344, 80%, 62%) |
| CMYK | cmyk(0%, 80.3%, 59.2%, 38.4%) |
| CIE-LAB | lab(35.04, 52.10, 13.25) |
| CIE-LCH | lch(35.04, 53.76, 14.26°) |
| OKLab | oklab(46.06% 0.1575 0.0329) |
| OKLCH | oklch(46.06% 0.161 11.8) |
| XYZ | xyz(15.3216, 8.5205, 5.6873) |
| Luminance | 0.0852 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.29
Rouge
#AB1239
ΔE00 3.81
Raspberry (survey)
#B00149
ΔE00 4.03
Purplish Red
#B0054B
ΔE00 4.27
Red Wine
#8C0034
ΔE00 4.86
Purple Red
#990147
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1F40 #1F9D7C
analogous
#9D1F7F #9D1F40 #9D3D1F
triadic
#9D1F40 #409D1F #1F409D
tetradic
#9D1F40 #7F9D1F #1F9D7C #3D1F9D
square
#9D1F40 #7F9D1F #1F9D7C #3D1F9D
split-complementary
#9D1F40 #1F9D3D #1F7F9D
monochromatic
#370B16 #6A152B #9D1F40 #D02955 #DE587B
Accessibility & contrast
On white
7.77
#9D1F40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#9D1F40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1F40
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1F40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1F40 | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424240
Deuteranopia (green-blind)
#635C3D
Tritanopia (blue-blind)
#AC002D
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9d1f40; /* rgb */ color: rgb(157, 31, 64); /* oklch */ color: oklch(46.1% 0.161 11.8);
Tailwind
colors: {
custom: {
50: '#c16874',
500: '#9d1f40',
950: '#000000',
},
}SCSS
$custom: #9d1f40; $custom-light: #c16874; $custom-dark: #000000;
JSON
{
"hex": "#9d1f40",
"rgb": {
"r": 157,
"g": 31,
"b": 64
},
"hsl": {
"h": 344.286,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.4606,
"c": 0.16086,
"h": 11.8
},
"luminance": 0.08518
}Semantic roles & 50–950 ramp
primary
#9D1F40
secondary
#56C2A6
accent
#EABD3E
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B