#8B2872#8B2872
#8B2872 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.157 H 339.6°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #8B2872 |
|---|---|
| RGB | rgb(139, 40, 114) |
| HSL | hsl(315, 55%, 35%) |
| HSV | hsv(315, 71%, 55%) |
| CMYK | cmyk(0%, 71.2%, 18%, 45.5%) |
| CIE-LAB | lab(34.44, 49.40, -20.18) |
| CIE-LCH | lch(34.44, 53.36, 337.78°) |
| OKLab | oklab(45.55% 0.1468 -0.0545) |
| OKLCH | oklch(45.55% 0.157 339.6) |
| XYZ | xyz(14.4439, 8.2228, 16.7428) |
| Luminance | 0.0822 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.21
Bruise
#7E4071
ΔE00 5.65
Warm Purple
#952E8F
ΔE00 5.72
Darkish Purple
#751973
ΔE00 6.32
Light Eggplant
#894585
ΔE00 6.66
Grape
#6C3461
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B2872 #288B41
analogous
#73288B #8B2872 #8B2840
triadic
#8B2872 #728B28 #28728B
tetradic
#8B2872 #8B7328 #288B41 #28408B
square
#8B2872 #8B7328 #288B41 #28408B
split-complementary
#8B2872 #408B28 #288B73
monochromatic
#2C0D24 #5B1A4B #8B2872 #BB3699 #D05DB3
Accessibility & contrast
On white
7.94
#8B2872 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#8B2872 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B2872
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B2872 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B2872 | 1.00 | 7.94 | 2.64 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4774
Deuteranopia (green-blind)
#4D5770
Tritanopia (blue-blind)
#932B49
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8b2872; /* rgb */ color: rgb(139, 40, 114); /* oklch */ color: oklch(45.6% 0.157 339.6);
Tailwind
colors: {
custom: {
50: '#b06b9a',
500: '#8b2872',
950: '#000000',
},
}SCSS
$custom: #8b2872; $custom-light: #b06b9a; $custom-dark: #000000;
JSON
{
"hex": "#8b2872",
"rgb": {
"r": 139,
"g": 40,
"b": 114
},
"hsl": {
"h": 315.152,
"s": 55.307,
"l": 35.098
},
"oklch": {
"l": 0.45551,
"c": 0.15661,
"h": 339.6
},
"luminance": 0.08221
}Semantic roles & 50–950 ramp
primary
#8B2872
secondary
#59B670
accent
#DF6F49
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E