#9C1B47#9C1B47
#9C1B47 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.164 H 7.2°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #9C1B47 |
|---|---|
| RGB | rgb(156, 27, 71) |
| HSL | hsl(340, 70%, 36%) |
| HSV | hsv(340, 83%, 61%) |
| CMYK | cmyk(0%, 82.7%, 54.5%, 38.8%) |
| CIE-LAB | lab(34.62, 53.46, 8.07) |
| CIE-LCH | lch(34.62, 54.07, 8.59°) |
| OKLab | oklab(45.77% 0.1631 0.0207) |
| OKLCH | oklch(45.77% 0.164 7.2) |
| XYZ | xyz(15.2410, 8.3089, 6.7613) |
| Luminance | 0.0831 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.77
Purple Red
#990147
ΔE00 2.77
Cranberry
#9E003A
ΔE00 3.45
Purplish Red
#B0054B
ΔE00 3.58
Raspberry (survey)
#B00149
ΔE00 3.62
Violet Red
#A50055
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C1B47 #1B9C70
analogous
#9C1B87 #9C1B47 #9C2F1B
triadic
#9C1B47 #479C1B #1B479C
tetradic
#9C1B47 #879C1B #1B9C70 #2F1B9C
square
#9C1B47 #879C1B #1B9C70 #2F1B9C
split-complementary
#9C1B47 #1B9C2F #1B879C
monochromatic
#340918 #68122F #9C1B47 #D0245F #E15182
Accessibility & contrast
On white
7.89
#9C1B47 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#9C1B47 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C1B47
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C1B47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C1B47 | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4148
Deuteranopia (green-blind)
#605B44
Tritanopia (blue-blind)
#AB002F
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9c1b47; /* rgb */ color: rgb(156, 27, 71); /* oklch */ color: oklch(45.8% 0.164 7.2);
Tailwind
colors: {
custom: {
50: '#c06779',
500: '#9c1b47',
950: '#000000',
},
}SCSS
$custom: #9c1b47; $custom-light: #c06779; $custom-dark: #000000;
JSON
{
"hex": "#9c1b47",
"rgb": {
"r": 156,
"g": 27,
"b": 71
},
"hsl": {
"h": 339.535,
"s": 70.492,
"l": 35.882
},
"oklch": {
"l": 0.45766,
"c": 0.16437,
"h": 7.2
},
"luminance": 0.08307
}Semantic roles & 50–950 ramp
primary
#9C1B47
secondary
#4FC39C
accent
#EDB03B
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B