#8C2152#8C2152
#8C2152 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.7% C 0.148 H 357.5°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #8C2152 |
|---|---|
| RGB | rgb(140, 33, 82) |
| HSL | hsl(333, 62%, 34%) |
| HSV | hsv(333, 76%, 55%) |
| CMYK | cmyk(0%, 76.4%, 41.4%, 45.1%) |
| CIE-LAB | lab(32.42, 48.12, -2.68) |
| CIE-LCH | lch(32.42, 48.20, 356.82°) |
| OKLab | oklab(43.69% 0.1478 -0.0064) |
| OKLCH | oklch(43.69% 0.148 357.5) |
| XYZ | xyz(12.8830, 7.2740, 8.7066) |
| Luminance | 0.0727 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 2.28
Mulberry
#920A4E
ΔE00 2.32
Dark Magenta
#960056
ΔE00 3.14
Dark Fuchsia
#9D0759
ΔE00 3.51
Red Purple
#820747
ΔE00 3.74
Berry
#990F4B
ΔE00 3.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C2152 #218C5B
analogous
#8C2188 #8C2152 #8C2521
triadic
#8C2152 #528C21 #21528C
tetradic
#8C2152 #888C21 #218C5B #25218C
square
#8C2152 #888C21 #218C5B #25218C
split-complementary
#8C2152 #218C25 #21888C
monochromatic
#290A18 #5A1535 #8C2152 #BE2D6F #D6518E
Accessibility & contrast
On white
8.56
#8C2152 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#8C2152 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8C2152
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C2152 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C2152 | 1.00 | 8.56 | 2.45 | 8.56 |
| #FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373F53
Deuteranopia (green-blind)
#555450
Tritanopia (blue-blind)
#981236
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8c2152; /* rgb */ color: rgb(140, 33, 82); /* oklch */ color: oklch(43.7% 0.148 357.5);
Tailwind
colors: {
custom: {
50: '#b26782',
500: '#8c2152',
950: '#000000',
},
}SCSS
$custom: #8c2152; $custom-light: #b26782; $custom-dark: #000000;
JSON
{
"hex": "#8c2152",
"rgb": {
"r": 140,
"g": 33,
"b": 82
},
"hsl": {
"h": 332.523,
"s": 61.85,
"l": 33.922
},
"oklch": {
"l": 0.43688,
"c": 0.14793,
"h": 357.5
},
"luminance": 0.07272
}Semantic roles & 50–950 ramp
primary
#8C2152
secondary
#4FB989
accent
#E59B43
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C