#9C1945#9C1945
#9C1945 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.166 H 8.0°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #9C1945 |
|---|---|
| RGB | rgb(156, 25, 69) |
| HSL | hsl(340, 72%, 35%) |
| HSV | hsv(340, 84%, 61%) |
| CMYK | cmyk(0%, 84%, 55.8%, 38.8%) |
| CIE-LAB | lab(34.39, 53.82, 9.05) |
| CIE-LCH | lch(34.39, 54.58, 9.55°) |
| OKLab | oklab(45.58% 0.164 0.0231) |
| OKLCH | oklch(45.58% 0.166 8) |
| XYZ | xyz(15.1336, 8.1951, 6.4140) |
| Luminance | 0.0819 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.93
Purple Red
#990147
ΔE00 2.95
Berry
#990F4B
ΔE00 3.12
Raspberry (survey)
#B00149
ΔE00 3.57
Purplish Red
#B0054B
ΔE00 3.60
Red Wine
#8C0034
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C1945 #199C70
analogous
#9C1987 #9C1945 #9C2E19
triadic
#9C1945 #459C19 #19459C
tetradic
#9C1945 #879C19 #199C70 #2E199C
square
#9C1945 #879C19 #199C70 #2E199C
split-complementary
#9C1945 #199C2E #19879C
monochromatic
#330816 #67112E #9C1945 #D1215C #E24D7F
Accessibility & contrast
On white
7.96
#9C1945 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#9C1945 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C1945
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C1945 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C1945 | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4046
Deuteranopia (green-blind)
#605A42
Tritanopia (blue-blind)
#AB002D
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9c1945; /* rgb */ color: rgb(156, 25, 69); /* oklch */ color: oklch(45.6% 0.166 8.0);
Tailwind
colors: {
custom: {
50: '#c06678',
500: '#9c1945',
950: '#000000',
},
}SCSS
$custom: #9c1945; $custom-light: #c06678; $custom-dark: #000000;
JSON
{
"hex": "#9c1945",
"rgb": {
"r": 156,
"g": 25,
"b": 69
},
"hsl": {
"h": 339.847,
"s": 72.376,
"l": 35.49
},
"oklch": {
"l": 0.45578,
"c": 0.16557,
"h": 8
},
"luminance": 0.08193
}Semantic roles & 50–950 ramp
primary
#9C1945
secondary
#4CC49C
accent
#EFB239
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B