#8B2A6E#8B2A6E
#8B2A6E is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.6% C 0.151 H 341.9°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #8B2A6E |
|---|---|
| RGB | rgb(139, 42, 110) |
| HSL | hsl(318, 54%, 35%) |
| HSV | hsv(318, 70%, 55%) |
| CMYK | cmyk(0%, 69.8%, 20.9%, 45.5%) |
| CIE-LAB | lab(34.54, 48.01, -17.49) |
| CIE-LCH | lch(34.54, 51.10, 339.98°) |
| OKLab | oklab(45.57% 0.1437 -0.0469) |
| OKLCH | oklch(45.57% 0.151 341.9) |
| XYZ | xyz(14.2903, 8.2721, 15.5929) |
| Luminance | 0.0827 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.79
Bruise
#7E4071
ΔE00 5.34
Warm Purple
#952E8F
ΔE00 6.64
Grape
#6C3461
ΔE00 6.72
Light Eggplant
#894585
ΔE00 6.93
Dark Magenta
#960056
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B2A6E #2A8B47
analogous
#772A8B #8B2A6E #8B2A3D
triadic
#8B2A6E #6E8B2A #2A6E8B
tetradic
#8B2A6E #8B772A #2A8B47 #2A3D8B
square
#8B2A6E #8B772A #2A8B47 #2A3D8B
split-complementary
#8B2A6E #3D8B2A #2A8B77
monochromatic
#2D0E24 #5C1C49 #8B2A6E #BA3893 #CF60AE
Accessibility & contrast
On white
7.91
#8B2A6E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#8B2A6E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B2A6E
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B2A6E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B2A6E | 1.00 | 7.91 | 2.65 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#324770
Deuteranopia (green-blind)
#50576C
Tritanopia (blue-blind)
#942B48
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8b2a6e; /* rgb */ color: rgb(139, 42, 110); /* oklch */ color: oklch(45.6% 0.151 341.9);
Tailwind
colors: {
custom: {
50: '#b06c97',
500: '#8b2a6e',
950: '#000000',
},
}SCSS
$custom: #8b2a6e; $custom-light: #b06c97; $custom-dark: #000000;
JSON
{
"hex": "#8b2a6e",
"rgb": {
"r": 139,
"g": 42,
"b": 110
},
"hsl": {
"h": 317.938,
"s": 53.591,
"l": 35.49
},
"oklch": {
"l": 0.45565,
"c": 0.15118,
"h": 341.9
},
"luminance": 0.08271
}Semantic roles & 50–950 ramp
primary
#8B2A6E
secondary
#5CB577
accent
#DD774B
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E