#8B2A6B#8B2A6B
#8B2A6B is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.4% C 0.149 H 343.6°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #8B2A6B |
|---|---|
| RGB | rgb(139, 42, 107) |
| HSL | hsl(320, 54%, 35%) |
| HSV | hsv(320, 70%, 55%) |
| CMYK | cmyk(0%, 69.8%, 23%, 45.5%) |
| CIE-LAB | lab(34.41, 47.58, -15.79) |
| CIE-LCH | lch(34.41, 50.13, 341.64°) |
| OKLab | oklab(45.43% 0.1431 -0.0421) |
| OKLCH | oklch(45.43% 0.149 343.6) |
| XYZ | xyz(14.1297, 8.2078, 14.7472) |
| Luminance | 0.0821 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.52
Bruise
#7E4071
ΔE00 5.45
Dark Magenta
#960056
ΔE00 6.38
Deep Magenta
#A0025C
ΔE00 6.52
Dark Fuchsia
#9D0759
ΔE00 6.66
Grape
#6C3461
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B2A6B #2A8B4A
analogous
#7A2A8B #8B2A6B #8B2A3A
triadic
#8B2A6B #6B8B2A #2A6B8B
tetradic
#8B2A6B #8B7A2A #2A8B4A #2A3A8B
square
#8B2A6B #8B7A2A #2A8B4A #2A3A8B
split-complementary
#8B2A6B #3A8B2A #2A8B7A
monochromatic
#2D0E23 #5C1C47 #8B2A6B #BA388F #CF60AB
Accessibility & contrast
On white
7.95
#8B2A6B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#8B2A6B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B2A6B
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B2A6B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B2A6B | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#33476D
Deuteranopia (green-blind)
#505769
Tritanopia (blue-blind)
#942A46
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8b2a6b; /* rgb */ color: rgb(139, 42, 107); /* oklch */ color: oklch(45.4% 0.149 343.6);
Tailwind
colors: {
custom: {
50: '#b06c95',
500: '#8b2a6b',
950: '#000000',
},
}SCSS
$custom: #8b2a6b; $custom-light: #b06c95; $custom-dark: #000000;
JSON
{
"hex": "#8b2a6b",
"rgb": {
"r": 139,
"g": 42,
"b": 107
},
"hsl": {
"h": 319.794,
"s": 53.591,
"l": 35.49
},
"oklch": {
"l": 0.45426,
"c": 0.14917,
"h": 343.6
},
"luminance": 0.08206
}Semantic roles & 50–950 ramp
primary
#8B2A6B
secondary
#5CB579
accent
#DD7B4B
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E