#8A2B5B#8A2B5B
#8A2B5B is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.7% C 0.138 H 353.0°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2B5B |
|---|---|
| RGB | rgb(138, 43, 91) |
| HSL | hsl(330, 52%, 35%) |
| HSV | hsv(330, 69%, 54%) |
| CMYK | cmyk(0%, 68.8%, 34.1%, 45.9%) |
| CIE-LAB | lab(33.75, 44.72, -6.58) |
| CIE-LCH | lch(33.75, 45.20, 351.63°) |
| OKLab | oklab(44.7% 0.1366 -0.0169) |
| OKLCH | oklch(44.7% 0.138 353) |
| XYZ | xyz(13.2342, 7.8878, 10.7211) |
| Luminance | 0.0789 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 4.15
Dark Magenta
#960056
ΔE00 4.34
Dark Fuchsia
#9D0759
ΔE00 4.54
Mulberry
#920A4E
ΔE00 4.61
Deep Magenta
#A0025C
ΔE00 4.87
Red Violet
#9E0168
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2B5B #2B8A5A
analogous
#892B8A #8A2B5B #8A2B2C
triadic
#8A2B5B #5B8A2B #2B5B8A
tetradic
#8A2B5B #8A892B #2B8A5A #2B2C8A
square
#8A2B5B #8A892B #2B8A5A #2B2C8A
split-complementary
#8A2B5B #2C8A2B #2B8A89
monochromatic
#2D0E1D #5B1C3C #8A2B5B #B93A7A #CE6198
Accessibility & contrast
On white
8.15
#8A2B5B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#8A2B5B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2B5B
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2B5B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2B5B | 1.00 | 8.15 | 2.58 | 8.15 |
| #FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A445C
Deuteranopia (green-blind)
#555659
Tritanopia (blue-blind)
#95243F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8a2b5b; /* rgb */ color: rgb(138, 43, 91); /* oklch */ color: oklch(44.7% 0.138 353.0);
Tailwind
colors: {
custom: {
50: '#b06b89',
500: '#8a2b5b',
950: '#000000',
},
}SCSS
$custom: #8a2b5b; $custom-light: #b06b89; $custom-dark: #000000;
JSON
{
"hex": "#8a2b5b",
"rgb": {
"r": 138,
"g": 43,
"b": 91
},
"hsl": {
"h": 329.684,
"s": 52.486,
"l": 35.49
},
"oklch": {
"l": 0.44697,
"c": 0.13763,
"h": 353
},
"luminance": 0.07886
}Semantic roles & 50–950 ramp
primary
#8A2B5B
secondary
#5DB488
accent
#DC934C
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070B
muted
#807A7C