#8B2A6A#8B2A6A
#8B2A6A is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.4% C 0.149 H 344.2°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #8B2A6A |
|---|---|
| RGB | rgb(139, 42, 106) |
| HSL | hsl(320, 54%, 35%) |
| HSV | hsv(320, 70%, 55%) |
| CMYK | cmyk(0%, 69.8%, 23.7%, 45.5%) |
| CIE-LAB | lab(34.37, 47.44, -15.22) |
| CIE-LCH | lch(34.37, 49.82, 342.21°) |
| OKLab | oklab(45.38% 0.1429 -0.0406) |
| OKLCH | oklch(45.38% 0.149 344.2) |
| XYZ | xyz(14.0774, 8.1869, 14.4717) |
| Luminance | 0.0819 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.45
Bruise
#7E4071
ΔE00 5.51
Dark Magenta
#960056
ΔE00 6.18
Deep Magenta
#A0025C
ΔE00 6.34
Dark Fuchsia
#9D0759
ΔE00 6.47
Grape
#6C3461
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B2A6A #2A8B4B
analogous
#7B2A8B #8B2A6A #8B2A3A
triadic
#8B2A6A #6A8B2A #2A6A8B
tetradic
#8B2A6A #8B7B2A #2A8B4B #2A3A8B
square
#8B2A6A #8B7B2A #2A8B4B #2A3A8B
split-complementary
#8B2A6A #3A8B2A #2A8B7B
monochromatic
#2D0E22 #5C1C46 #8B2A6A #BA388E #CF60A9
Accessibility & contrast
On white
7.96
#8B2A6A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#8B2A6A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B2A6A
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B2A6A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B2A6A | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#34466C
Deuteranopia (green-blind)
#515768
Tritanopia (blue-blind)
#942946
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8b2a6a; /* rgb */ color: rgb(139, 42, 106); /* oklch */ color: oklch(45.4% 0.149 344.2);
Tailwind
colors: {
custom: {
50: '#b06c94',
500: '#8b2a6a',
950: '#000000',
},
}SCSS
$custom: #8b2a6a; $custom-light: #b06c94; $custom-dark: #000000;
JSON
{
"hex": "#8b2a6a",
"rgb": {
"r": 139,
"g": 42,
"b": 106
},
"hsl": {
"h": 320.412,
"s": 53.591,
"l": 35.49
},
"oklch": {
"l": 0.45381,
"c": 0.14852,
"h": 344.2
},
"luminance": 0.08186
}Semantic roles & 50–950 ramp
primary
#8B2A6A
secondary
#5CB57A
accent
#DD7D4B
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E