#8C2C4E#8C2C4E
#8C2C4E is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.7% C 0.133 H 2.4°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #8C2C4E |
|---|---|
| RGB | rgb(140, 44, 78) |
| HSL | hsl(339, 52%, 36%) |
| HSV | hsv(339, 69%, 55%) |
| CMYK | cmyk(0%, 68.6%, 44.3%, 45.1%) |
| CIE-LAB | lab(33.83, 43.42, 1.99) |
| CIE-LCH | lch(33.83, 43.47, 2.62°) |
| OKLab | oklab(44.69% 0.1328 0.0056) |
| OKLCH | oklch(44.69% 0.133 2.4) |
| XYZ | xyz(13.0920, 7.9285, 8.0472) |
| Luminance | 0.0793 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.85
Mulberry
#920A4E
ΔE00 4.36
Purple Red
#990147
ΔE00 4.57
Reddish Purple
#910951
ΔE00 4.94
Violet Red
#A50055
ΔE00 5.58
Dark Fuchsia
#9D0759
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C2C4E #2C8C6A
analogous
#8C2C7E #8C2C4E #8C3A2C
triadic
#8C2C4E #4E8C2C #2C4E8C
tetradic
#8C2C4E #7E8C2C #2C8C6A #3A2C8C
square
#8C2C4E #7E8C2C #2C8C6A #3A2C8C
split-complementary
#8C2C4E #2C8C3A #2C7E8C
monochromatic
#2F0F1A #5D1D34 #8C2C4E #BB3B68 #CE648A
Accessibility & contrast
On white
8.12
#8C2C4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#8C2C4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8C2C4E
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C2C4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C2C4E | 1.00 | 8.12 | 2.59 | 8.12 |
| #FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#40444F
Deuteranopia (green-blind)
#59564C
Tritanopia (blue-blind)
#98203A
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #8c2c4e; /* rgb */ color: rgb(140, 44, 78); /* oklch */ color: oklch(44.7% 0.133 2.4);
Tailwind
colors: {
custom: {
50: '#b26c7f',
500: '#8c2c4e',
950: '#000000',
},
}SCSS
$custom: #8c2c4e; $custom-light: #b26c7f; $custom-dark: #000000;
JSON
{
"hex": "#8c2c4e",
"rgb": {
"r": 140,
"g": 44,
"b": 78
},
"hsl": {
"h": 338.75,
"s": 52.174,
"l": 36.078
},
"oklch": {
"l": 0.44687,
"c": 0.1329,
"h": 2.4
},
"luminance": 0.07927
}Semantic roles & 50–950 ramp
primary
#8C2C4E
secondary
#5FB596
accent
#DCA94C
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C