#8C2147#8C2147
#8C2147 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.3% C 0.144 H 4.3°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).
Color values
| HEX | #8C2147 |
|---|---|
| RGB | rgb(140, 33, 71) |
| HSL | hsl(339, 62%, 34%) |
| HSV | hsv(339, 76%, 55%) |
| CMYK | cmyk(0%, 76.4%, 49.3%, 45.1%) |
| CIE-LAB | lab(32.08, 47.02, 4.03) |
| CIE-LCH | lch(32.08, 47.19, 4.90°) |
| OKLab | oklab(43.32% 0.1439 0.0108) |
| OKLCH | oklch(43.32% 0.144 4.3) |
| XYZ | xyz(12.4975, 7.1198, 6.6762) |
| Luminance | 0.0712 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.81
Purple Red
#990147
ΔE00 3.10
Mulberry
#920A4E
ΔE00 3.65
Reddish Purple
#910951
ΔE00 4.52
Wine (survey)
#80013F
ΔE00 4.58
Red Purple
#820747
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C2147 #218C66
analogous
#8C217D #8C2147 #8C3121
triadic
#8C2147 #478C21 #21478C
tetradic
#8C2147 #7D8C21 #218C66 #31218C
square
#8C2147 #7D8C21 #218C66 #31218C
split-complementary
#8C2147 #218C31 #217D8C
monochromatic
#290A15 #5A152E #8C2147 #BE2D60 #D65180
Accessibility & contrast
On white
8.66
#8C2147 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#8C2147 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8C2147
8.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C2147 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C2147 | 1.00 | 8.66 | 2.42 | 8.66 |
| #FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3E48
Deuteranopia (green-blind)
#575344
Tritanopia (blue-blind)
#990A31
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8c2147; /* rgb */ color: rgb(140, 33, 71); /* oklch */ color: oklch(43.3% 0.144 4.3);
Tailwind
colors: {
custom: {
50: '#b3667a',
500: '#8c2147',
950: '#000000',
},
}SCSS
$custom: #8c2147; $custom-light: #b3667a; $custom-dark: #000000;
JSON
{
"hex": "#8c2147",
"rgb": {
"r": 140,
"g": 33,
"b": 71
},
"hsl": {
"h": 338.692,
"s": 61.85,
"l": 33.922
},
"oklch": {
"l": 0.43322,
"c": 0.14426,
"h": 4.3
},
"luminance": 0.07118
}Semantic roles & 50–950 ramp
primary
#8C2147
secondary
#4FB994
accent
#E5AB43
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B