#8C1245#8C1245
#8C1245 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.1% C 0.157 H 3.1°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #8C1245 |
|---|---|
| RGB | rgb(140, 18, 69) |
| HSL | hsl(335, 77%, 31%) |
| HSV | hsv(335, 87%, 55%) |
| CMYK | cmyk(0%, 87.1%, 50.7%, 45.1%) |
| CIE-LAB | lab(30.50, 51.16, 3.08) |
| CIE-LCH | lch(30.50, 51.26, 3.44°) |
| OKLab | oklab(42.14% 0.1571 0.0084) |
| OKLCH | oklch(42.14% 0.157 3.1) |
| XYZ | xyz(12.1068, 6.4395, 6.2345) |
| Luminance | 0.0644 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.43
Berry
#990F4B
ΔE00 2.50
Mulberry
#920A4E
ΔE00 2.54
Wine (survey)
#80013F
ΔE00 3.07
Reddish Purple
#910951
ΔE00 3.45
Red Purple
#820747
ΔE00 3.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C1245 #128C59
analogous
#8C1282 #8C1245 #8C1C12
triadic
#8C1245 #458C12 #12458C
tetradic
#8C1245 #828C12 #128C59 #1C128C
square
#8C1245 #828C12 #128C59 #1C128C
split-complementary
#8C1245 #128C1C #12828C
monochromatic
#200410 #560B2A #8C1245 #C21960 #E5347E
Accessibility & contrast
On white
9.18
#8C1245 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#8C1245 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8C1245
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C1245 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C1245 | 1.00 | 9.18 | 2.29 | 9.18 |
| #FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343946
Deuteranopia (green-blind)
#545042
Tritanopia (blue-blind)
#99002A
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8c1245; /* rgb */ color: rgb(140, 18, 69); /* oklch */ color: oklch(42.1% 0.157 3.1);
Tailwind
colors: {
custom: {
50: '#b36178',
500: '#8c1245',
950: '#000000',
},
}SCSS
$custom: #8c1245; $custom-light: #b36178; $custom-dark: #000000;
JSON
{
"hex": "#8c1245",
"rgb": {
"r": 140,
"g": 18,
"b": 69
},
"hsl": {
"h": 334.918,
"s": 77.215,
"l": 30.98
},
"oklch": {
"l": 0.4214,
"c": 0.15729,
"h": 3.1
},
"luminance": 0.06438
}Semantic roles & 50–950 ramp
primary
#8C1245
secondary
#39C088
accent
#F4A434
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B