#9C1948#9C1948
#9C1948 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.7% C 0.166 H 6.4°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #9C1948 |
|---|---|
| RGB | rgb(156, 25, 72) |
| HSL | hsl(338, 72%, 35%) |
| HSV | hsv(338, 84%, 61%) |
| CMYK | cmyk(0%, 84%, 53.8%, 38.8%) |
| CIE-LAB | lab(34.46, 54.05, 7.21) |
| CIE-LCH | lch(34.46, 54.53, 7.59°) |
| OKLab | oklab(45.66% 0.1651 0.0186) |
| OKLCH | oklch(45.66% 0.166 6.4) |
| XYZ | xyz(15.2291, 8.2333, 6.9169) |
| Luminance | 0.0823 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.27
Purple Red
#990147
ΔE00 2.33
Purplish Red
#B0054B
ΔE00 3.66
Raspberry (survey)
#B00149
ΔE00 3.75
Cranberry
#9E003A
ΔE00 3.78
Violet Red
#A50055
ΔE00 4.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C1948 #199C6D
analogous
#9C198A #9C1948 #9C2B19
triadic
#9C1948 #489C19 #19489C
tetradic
#9C1948 #8A9C19 #199C6D #2B199C
square
#9C1948 #8A9C19 #199C6D #2B199C
split-complementary
#9C1948 #199C2B #198A9C
monochromatic
#330817 #671130 #9C1948 #D12160 #E24D83
Accessibility & contrast
On white
7.94
#9C1948 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#9C1948 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C1948
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C1948 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C1948 | 1.00 | 7.94 | 2.65 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4149
Deuteranopia (green-blind)
#605A45
Tritanopia (blue-blind)
#AB002F
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9c1948; /* rgb */ color: rgb(156, 25, 72); /* oklch */ color: oklch(45.7% 0.166 6.4);
Tailwind
colors: {
custom: {
50: '#c0667a',
500: '#9c1948',
950: '#000000',
},
}SCSS
$custom: #9c1948; $custom-light: #c0667a; $custom-dark: #000000;
JSON
{
"hex": "#9c1948",
"rgb": {
"r": 156,
"g": 25,
"b": 72
},
"hsl": {
"h": 338.473,
"s": 72.376,
"l": 35.49
},
"oklch": {
"l": 0.45661,
"c": 0.16616,
"h": 6.4
},
"luminance": 0.08231
}Semantic roles & 50–950 ramp
primary
#9C1948
secondary
#4CC499
accent
#EFAE39
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B