#9C1F45#9C1F45
#9C1F45 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.0% C 0.161 H 9.0°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #9C1F45 |
|---|---|
| RGB | rgb(156, 31, 69) |
| HSL | hsl(342, 67%, 37%) |
| HSV | hsv(342, 80%, 61%) |
| CMYK | cmyk(0%, 80.1%, 55.8%, 38.8%) |
| CIE-LAB | lab(34.96, 52.18, 9.86) |
| CIE-LCH | lch(34.96, 53.10, 10.70°) |
| OKLab | oklab(46% 0.1586 0.025) |
| OKLCH | oklch(46% 0.161 9) |
| XYZ | xyz(15.2759, 8.4798, 6.4615) |
| Luminance | 0.0848 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.97
Raspberry (survey)
#B00149
ΔE00 3.61
Purplish Red
#B0054B
ΔE00 3.67
Purple Red
#990147
ΔE00 3.78
Berry
#990F4B
ΔE00 3.85
Red Wine
#8C0034
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C1F45 #1F9C76
analogous
#9C1F84 #9C1F45 #9C381F
triadic
#9C1F45 #459C1F #1F459C
tetradic
#9C1F45 #849C1F #1F9C76 #381F9C
square
#9C1F45 #849C1F #1F9C76 #381F9C
split-complementary
#9C1F45 #1F9C38 #1F849C
monochromatic
#360B18 #69152E #9C1F45 #CF295C #DE5880
Accessibility & contrast
On white
7.79
#9C1F45 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#9C1F45 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C1F45
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C1F45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C1F45 | 1.00 | 7.79 | 2.70 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414246
Deuteranopia (green-blind)
#615B42
Tritanopia (blue-blind)
#AB0030
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9c1f45; /* rgb */ color: rgb(156, 31, 69); /* oklch */ color: oklch(46.0% 0.161 9.0);
Tailwind
colors: {
custom: {
50: '#c06878',
500: '#9c1f45',
950: '#000000',
},
}SCSS
$custom: #9c1f45; $custom-light: #c06878; $custom-dark: #000000;
JSON
{
"hex": "#9c1f45",
"rgb": {
"r": 156,
"g": 31,
"b": 69
},
"hsl": {
"h": 341.76,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.46003,
"c": 0.1606,
"h": 9
},
"luminance": 0.08478
}Semantic roles & 50–950 ramp
primary
#9C1F45
secondary
#55C1A1
accent
#EAB63E
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B