#8B2276#8B2276
#8B2276 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.2% C 0.167 H 337.4°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #8B2276 |
|---|---|
| RGB | rgb(139, 34, 118) |
| HSL | hsl(312, 61%, 34%) |
| HSV | hsv(312, 76%, 55%) |
| CMYK | cmyk(0%, 75.5%, 15.1%, 45.5%) |
| CIE-LAB | lab(33.86, 52.18, -23.60) |
| CIE-LCH | lch(33.86, 57.27, 335.66°) |
| OKLab | oklab(45.19% 0.154 -0.0642) |
| OKLCH | oklch(45.19% 0.167 337.4) |
| XYZ | xyz(14.4898, 7.9424, 17.9059) |
| Luminance | 0.0794 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 5.02
Darkish Purple
#751973
ΔE00 5.25
Darkmagenta
#8B008B
ΔE00 5.64
Red Violet
#9E0168
ΔE00 5.77
Purple
#800080
ΔE00 5.79
Barney Purple
#A00498
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B2276 #228B37
analogous
#6C228B #8B2276 #8B2242
triadic
#8B2276 #768B22 #22768B
tetradic
#8B2276 #8B6C22 #228B37 #22428B
square
#8B2276 #8B6C22 #228B37 #22428B
split-complementary
#8B2276 #428B22 #228B6C
monochromatic
#290A23 #5A164C #8B2276 #BC2EA0 #D553BB
Accessibility & contrast
On white
8.11
#8B2276 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#8B2276 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B2276
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B2276 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B2276 | 1.00 | 8.11 | 2.59 | 8.11 |
| #FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#264578
Deuteranopia (green-blind)
#495574
Tritanopia (blue-blind)
#932849
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #8b2276; /* rgb */ color: rgb(139, 34, 118); /* oklch */ color: oklch(45.2% 0.167 337.4);
Tailwind
colors: {
custom: {
50: '#b0689d',
500: '#8b2276',
950: '#000000',
},
}SCSS
$custom: #8b2276; $custom-light: #b0689d; $custom-dark: #000000;
JSON
{
"hex": "#8b2276",
"rgb": {
"r": 139,
"g": 34,
"b": 118
},
"hsl": {
"h": 312,
"s": 60.694,
"l": 33.922
},
"oklch": {
"l": 0.45193,
"c": 0.16678,
"h": 337.4
},
"luminance": 0.07941
}Semantic roles & 50–950 ramp
primary
#8B2276
secondary
#50B865
accent
#E46444
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E