#9D1F42#9D1F42
#9D1F42 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.161 H 10.8°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1F42 |
|---|---|
| RGB | rgb(157, 31, 66) |
| HSL | hsl(343, 67%, 37%) |
| HSV | hsv(343, 80%, 62%) |
| CMYK | cmyk(0%, 80.3%, 58%, 38.4%) |
| CIE-LAB | lab(35.09, 52.24, 12.01) |
| CIE-LCH | lch(35.09, 53.61, 12.95°) |
| OKLab | oklab(46.11% 0.1583 0.0301) |
| OKLCH | oklch(46.11% 0.161 10.8) |
| XYZ | xyz(15.3795, 8.5437, 5.9925) |
| Luminance | 0.0854 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.43
Raspberry (survey)
#B00149
ΔE00 3.71
Purplish Red
#B0054B
ΔE00 3.90
Rouge
#AB1239
ΔE00 4.33
Purple Red
#990147
ΔE00 4.71
Red Wine
#8C0034
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1F42 #1F9D7A
analogous
#9D1F81 #9D1F42 #9D3B1F
triadic
#9D1F42 #429D1F #1F429D
tetradic
#9D1F42 #819D1F #1F9D7A #3B1F9D
square
#9D1F42 #819D1F #1F9D7A #3B1F9D
split-complementary
#9D1F42 #1F9D3B #1F819D
monochromatic
#370B17 #6A152D #9D1F42 #D02957 #DE587D
Accessibility & contrast
On white
7.75
#9D1F42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#9D1F42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1F42
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1F42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1F42 | 1.00 | 7.75 | 2.71 | 7.75 |
| #FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424243
Deuteranopia (green-blind)
#625C3F
Tritanopia (blue-blind)
#AC002E
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9d1f42; /* rgb */ color: rgb(157, 31, 66); /* oklch */ color: oklch(46.1% 0.161 10.8);
Tailwind
colors: {
custom: {
50: '#c06876',
500: '#9d1f42',
950: '#000000',
},
}SCSS
$custom: #9d1f42; $custom-light: #c06876; $custom-dark: #000000;
JSON
{
"hex": "#9d1f42",
"rgb": {
"r": 157,
"g": 31,
"b": 66
},
"hsl": {
"h": 343.333,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.46109,
"c": 0.1611,
"h": 10.8
},
"luminance": 0.08541
}Semantic roles & 50–950 ramp
primary
#9D1F42
secondary
#56C2A4
accent
#EABA3E
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#130708
muted
#827A7B