#8B1852#8B1852
#8B1852 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.156 H 355.9°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #8B1852 |
|---|---|
| RGB | rgb(139, 24, 82) |
| HSL | hsl(330, 71%, 32%) |
| HSV | hsv(330, 83%, 55%) |
| CMYK | cmyk(0%, 82.7%, 41%, 45.5%) |
| CIE-LAB | lab(31.24, 50.64, -4.45) |
| CIE-LCH | lch(31.24, 50.84, 354.97°) |
| OKLab | oklab(42.79% 0.1559 -0.0111) |
| OKLCH | oklch(42.79% 0.156 355.9) |
| XYZ | xyz(12.4980, 6.7531, 8.6263) |
| Luminance | 0.0675 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 1.45
Mulberry
#920A4E
ΔE00 2.07
Dark Magenta
#960056
ΔE00 2.29
Red Purple
#820747
ΔE00 2.86
Dark Fuchsia
#9D0759
ΔE00 3.31
Deep Magenta
#A0025C
ΔE00 3.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B1852 #188B51
analogous
#8B188B #8B1852 #8B1819
triadic
#8B1852 #528B18 #18528B
tetradic
#8B1852 #8B8B18 #188B51 #18198B
square
#8B1852 #8B8B18 #188B51 #18198B
split-complementary
#8B1852 #198B18 #188B8B
monochromatic
#230614 #570F33 #8B1852 #BF2171 #DE3F8F
Accessibility & contrast
On white
8.94
#8B1852 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#8B1852 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B1852
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B1852 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B1852 | 1.00 | 8.94 | 2.35 | 8.94 |
| #FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323C53
Deuteranopia (green-blind)
#52514F
Tritanopia (blue-blind)
#970233
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8b1852; /* rgb */ color: rgb(139, 24, 82); /* oklch */ color: oklch(42.8% 0.156 355.9);
Tailwind
colors: {
custom: {
50: '#b26382',
500: '#8b1852',
950: '#000000',
},
}SCSS
$custom: #8b1852; $custom-light: #b26382; $custom-dark: #000000;
JSON
{
"hex": "#8b1852",
"rgb": {
"r": 139,
"g": 24,
"b": 82
},
"hsl": {
"h": 329.739,
"s": 70.552,
"l": 31.961
},
"oklch": {
"l": 0.42785,
"c": 0.15625,
"h": 355.9
},
"luminance": 0.06751
}Semantic roles & 50–950 ramp
primary
#8B1852
secondary
#40BE7F
accent
#ED933A
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C