#8B2279#8B2279
#8B2279 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.4% C 0.169 H 335.9°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #8B2279 |
|---|---|
| RGB | rgb(139, 34, 121) |
| HSL | hsl(310, 61%, 34%) |
| HSV | hsv(310, 76%, 55%) |
| CMYK | cmyk(0%, 75.5%, 12.9%, 45.5%) |
| CIE-LAB | lab(34.01, 52.63, -25.26) |
| CIE-LCH | lch(34.01, 58.38, 334.37°) |
| OKLab | oklab(45.35% 0.1543 -0.0689) |
| OKLCH | oklch(45.35% 0.169 335.9) |
| XYZ | xyz(14.6709, 8.0148, 18.8598) |
| Luminance | 0.0801 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.51
Darkish Purple
#751973
ΔE00 5.00
Darkmagenta
#8B008B
ΔE00 5.05
Purple
#800080
ΔE00 5.34
Barney Purple
#A00498
ΔE00 5.99
Red Violet
#9E0168
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B2279 #228B34
analogous
#69228B #8B2279 #8B2245
triadic
#8B2279 #798B22 #22798B
tetradic
#8B2279 #8B6922 #228B34 #22458B
square
#8B2279 #8B6922 #228B34 #22458B
split-complementary
#8B2279 #458B22 #228B69
monochromatic
#290A23 #5A164E #8B2279 #BC2EA4 #D553BE
Accessibility & contrast
On white
8.07
#8B2279 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#8B2279 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B2279
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B2279 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B2279 | 1.00 | 8.07 | 2.60 | 8.07 |
| #FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23467B
Deuteranopia (green-blind)
#485677
Tritanopia (blue-blind)
#922A4B
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #8b2279; /* rgb */ color: rgb(139, 34, 121); /* oklch */ color: oklch(45.4% 0.169 335.9);
Tailwind
colors: {
custom: {
50: '#b068a0',
500: '#8b2279',
950: '#000000',
},
}SCSS
$custom: #8b2279; $custom-light: #b068a0; $custom-dark: #000000;
JSON
{
"hex": "#8b2279",
"rgb": {
"r": 139,
"g": 34,
"b": 121
},
"hsl": {
"h": 310.286,
"s": 60.694,
"l": 33.922
},
"oklch": {
"l": 0.45351,
"c": 0.16895,
"h": 335.9
},
"luminance": 0.08013
}Semantic roles & 50–950 ramp
primary
#8B2279
secondary
#50B862
accent
#E45F44
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E