#8C1948#8C1948
#8C1948 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.7% C 0.153 H 2.2°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #8C1948 |
|---|---|
| RGB | rgb(140, 25, 72) |
| HSL | hsl(335, 70%, 32%) |
| HSV | hsv(335, 82%, 55%) |
| CMYK | cmyk(0%, 82.1%, 48.6%, 45.1%) |
| CIE-LAB | lab(31.21, 49.65, 2.12) |
| CIE-LCH | lch(31.21, 49.70, 2.44°) |
| OKLab | oklab(42.69% 0.1524 0.006) |
| OKLCH | oklch(42.69% 0.153 2.2) |
| XYZ | xyz(12.3336, 6.7403, 6.7812) |
| Luminance | 0.0674 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 2.31
Berry
#990F4B
ΔE00 2.43
Purple Red
#990147
ΔE00 2.71
Reddish Purple
#910951
ΔE00 3.16
Wine (survey)
#80013F
ΔE00 3.52
Red Purple
#820747
ΔE00 3.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C1948 #198C5D
analogous
#8C1982 #8C1948 #8C2319
triadic
#8C1948 #488C19 #19488C
tetradic
#8C1948 #828C19 #198C5D #23198C
square
#8C1948 #828C19 #198C5D #23198C
split-complementary
#8C1948 #198C23 #19828C
monochromatic
#240613 #58102D #8C1948 #C02263 #DD4282
Accessibility & contrast
On white
8.94
#8C1948 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#8C1948 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8C1948
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C1948 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C1948 | 1.00 | 8.94 | 2.35 | 8.94 |
| #FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363B49
Deuteranopia (green-blind)
#555145
Tritanopia (blue-blind)
#99002E
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8c1948; /* rgb */ color: rgb(140, 25, 72); /* oklch */ color: oklch(42.7% 0.153 2.2);
Tailwind
colors: {
custom: {
50: '#b3637a',
500: '#8c1948',
950: '#000000',
},
}SCSS
$custom: #8c1948; $custom-light: #b3637a; $custom-dark: #000000;
JSON
{
"hex": "#8c1948",
"rgb": {
"r": 140,
"g": 25,
"b": 72
},
"hsl": {
"h": 335.478,
"s": 69.697,
"l": 32.353
},
"oklch": {
"l": 0.42692,
"c": 0.15253,
"h": 2.2
},
"luminance": 0.06739
}Semantic roles & 50–950 ramp
primary
#8C1948
secondary
#43BE8C
accent
#EDA43B
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B