#8A2B74#8A2B74
#8A2B74 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.8% C 0.153 H 338.3°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2B74 |
|---|---|
| RGB | rgb(138, 43, 116) |
| HSL | hsl(314, 52%, 35%) |
| HSV | hsv(314, 69%, 54%) |
| CMYK | cmyk(0%, 68.8%, 15.9%, 45.9%) |
| CIE-LAB | lab(34.79, 48.23, -20.92) |
| CIE-LCH | lch(34.79, 52.57, 336.56°) |
| OKLab | oklab(45.8% 0.1425 -0.0566) |
| OKLCH | oklch(45.8% 0.153 338.3) |
| XYZ | xyz(14.4978, 8.3933, 17.3761) |
| Luminance | 0.0839 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 5.24
Warm Purple
#952E8F
ΔE00 5.31
Red Violet
#9E0168
ΔE00 5.79
Light Eggplant
#894585
ΔE00 6.07
Darkish Purple
#751973
ΔE00 6.23
Grape
#6C3461
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2B74 #2B8A41
analogous
#702B8A #8A2B74 #8A2B44
triadic
#8A2B74 #748A2B #2B748A
tetradic
#8A2B74 #8A702B #2B8A41 #2B448A
square
#8A2B74 #8A702B #2B8A41 #2B448A
split-complementary
#8A2B74 #448A2B #2B8A70
monochromatic
#2D0E26 #5B1C4D #8A2B74 #B93A9B #CE61B5
Accessibility & contrast
On white
7.84
#8A2B74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#8A2B74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2B74
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2B74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2B74 | 1.00 | 7.84 | 2.68 | 7.84 |
| #FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4876
Deuteranopia (green-blind)
#4D5772
Tritanopia (blue-blind)
#922F4B
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #8a2b74; /* rgb */ color: rgb(138, 43, 116); /* oklch */ color: oklch(45.8% 0.153 338.3);
Tailwind
colors: {
custom: {
50: '#af6c9c',
500: '#8a2b74',
950: '#000000',
},
}SCSS
$custom: #8a2b74; $custom-light: #af6c9c; $custom-dark: #000000;
JSON
{
"hex": "#8a2b74",
"rgb": {
"r": 138,
"g": 43,
"b": 116
},
"hsl": {
"h": 313.895,
"s": 52.486,
"l": 35.49
},
"oklch": {
"l": 0.458,
"c": 0.15335,
"h": 338.3
},
"luminance": 0.08392
}Semantic roles & 50–950 ramp
primary
#8A2B74
secondary
#5DB471
accent
#DC6D4C
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E