#8C1540#8C1540
#8C1540 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.154 H 6.3°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #8C1540 |
|---|---|
| RGB | rgb(140, 21, 64) |
| HSL | hsl(338, 74%, 32%) |
| HSV | hsv(338, 85%, 55%) |
| CMYK | cmyk(0%, 85%, 54.3%, 45.1%) |
| CIE-LAB | lab(30.60, 50.03, 6.56) |
| CIE-LCH | lch(30.60, 50.46, 7.47°) |
| OKLab | oklab(42.17% 0.1529 0.017) |
| OKLCH | oklch(42.17% 0.154 6.3) |
| XYZ | xyz(12.0099, 6.4837, 5.4686) |
| Luminance | 0.0648 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.80
Berry
#990F4B
ΔE00 3.19
Red Wine
#8C0034
ΔE00 3.22
Wine (survey)
#80013F
ΔE00 4.08
Mulberry
#920A4E
ΔE00 4.28
Cranberry
#9E003A
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C1540 #158C61
analogous
#8C157C #8C1540 #8C2515
triadic
#8C1540 #408C15 #15408C
tetradic
#8C1540 #7C8C15 #158C61 #25158C
square
#8C1540 #7C8C15 #158C61 #25158C
split-complementary
#8C1540 #158C25 #157C8C
monochromatic
#22050F #570D28 #8C1540 #C11D58 #E13A76
Accessibility & contrast
On white
9.14
#8C1540 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#8C1540 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8C1540
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C1540 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C1540 | 1.00 | 9.14 | 2.30 | 9.14 |
| #FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363941
Deuteranopia (green-blind)
#55503D
Tritanopia (blue-blind)
#990029
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8c1540; /* rgb */ color: rgb(140, 21, 64); /* oklch */ color: oklch(42.2% 0.154 6.3);
Tailwind
colors: {
custom: {
50: '#b46274',
500: '#8c1540',
950: '#000000',
},
}SCSS
$custom: #8c1540; $custom-light: #b46274; $custom-dark: #000000;
JSON
{
"hex": "#8c1540",
"rgb": {
"r": 140,
"g": 21,
"b": 64
},
"hsl": {
"h": 338.319,
"s": 73.913,
"l": 31.569
},
"oklch": {
"l": 0.42172,
"c": 0.1538,
"h": 6.3
},
"luminance": 0.06482
}Semantic roles & 50–950 ramp
primary
#8C1540
secondary
#3DC091
accent
#F1AE37
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B