#8B2152#8B2152
#8B2152 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.5% C 0.147 H 357.2°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).
Color values
| HEX | #8B2152 |
|---|---|
| RGB | rgb(139, 33, 82) |
| HSL | hsl(332, 62%, 34%) |
| HSV | hsv(332, 76%, 55%) |
| CMYK | cmyk(0%, 76.3%, 41%, 45.5%) |
| CIE-LAB | lab(32.23, 47.83, -2.98) |
| CIE-LCH | lch(32.23, 47.93, 356.43°) |
| OKLab | oklab(43.51% 0.1469 -0.0072) |
| OKLCH | oklch(43.51% 0.147 357.2) |
| XYZ | xyz(12.7152, 7.1875, 8.6987) |
| Luminance | 0.0719 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 2.31
Mulberry
#920A4E
ΔE00 2.41
Dark Magenta
#960056
ΔE00 3.17
Red Purple
#820747
ΔE00 3.62
Dark Fuchsia
#9D0759
ΔE00 3.63
Berry
#990F4B
ΔE00 3.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B2152 #218B5A
analogous
#8B2187 #8B2152 #8B2521
triadic
#8B2152 #528B21 #21528B
tetradic
#8B2152 #878B21 #218B5A #25218B
square
#8B2152 #878B21 #218B5A #25218B
split-complementary
#8B2152 #218B25 #21878B
monochromatic
#280A18 #5A1535 #8B2152 #BC2D6F #D6518E
Accessibility & contrast
On white
8.62
#8B2152 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#8B2152 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B2152
8.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B2152 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B2152 | 1.00 | 8.62 | 2.44 | 8.62 |
| #FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373F53
Deuteranopia (green-blind)
#545350
Tritanopia (blue-blind)
#971336
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8b2152; /* rgb */ color: rgb(139, 33, 82); /* oklch */ color: oklch(43.5% 0.147 357.2);
Tailwind
colors: {
custom: {
50: '#b16782',
500: '#8b2152',
950: '#000000',
},
}SCSS
$custom: #8b2152; $custom-light: #b16782; $custom-dark: #000000;
JSON
{
"hex": "#8b2152",
"rgb": {
"r": 139,
"g": 33,
"b": 82
},
"hsl": {
"h": 332.264,
"s": 61.628,
"l": 33.725
},
"oklch": {
"l": 0.43511,
"c": 0.14707,
"h": 357.2
},
"luminance": 0.07186
}Semantic roles & 50–950 ramp
primary
#8B2152
secondary
#4FB988
accent
#E59A43
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C