#8A2175#8A2175
#8A2175 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.9% C 0.167 H 337.4°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2175 |
|---|---|
| RGB | rgb(138, 33, 117) |
| HSL | hsl(312, 61%, 34%) |
| HSV | hsv(312, 76%, 54%) |
| CMYK | cmyk(0%, 76.1%, 15.2%, 45.9%) |
| CIE-LAB | lab(33.51, 52.12, -23.53) |
| CIE-LCH | lch(33.51, 57.18, 335.70°) |
| OKLab | oklab(44.89% 0.1538 -0.064) |
| OKLCH | oklch(44.89% 0.167 337.4) |
| XYZ | xyz(14.2363, 7.7767, 17.5775) |
| Luminance | 0.0777 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 5.04
Warm Purple
#952E8F
ΔE00 5.26
Darkmagenta
#8B008B
ΔE00 5.63
Purple
#800080
ΔE00 5.66
Red Violet
#9E0168
ΔE00 5.80
Barney Purple
#A00498
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2175 #218A36
analogous
#6A218A #8A2175 #8A2140
triadic
#8A2175 #758A21 #21758A
tetradic
#8A2175 #8A6A21 #218A36 #21408A
square
#8A2175 #8A6A21 #218A36 #21408A
split-complementary
#8A2175 #408A21 #218A6A
monochromatic
#270921 #59154B #8A2175 #BB2D9F #D550BB
Accessibility & contrast
On white
8.22
#8A2175 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#8A2175 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2175
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2175 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2175 | 1.00 | 8.22 | 2.55 | 8.22 |
| #FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254577
Deuteranopia (green-blind)
#495573
Tritanopia (blue-blind)
#922749
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8a2175; /* rgb */ color: rgb(138, 33, 117); /* oklch */ color: oklch(44.9% 0.167 337.4);
Tailwind
colors: {
custom: {
50: '#b0689d',
500: '#8a2175',
950: '#000000',
},
}SCSS
$custom: #8a2175; $custom-light: #b0689d; $custom-dark: #000000;
JSON
{
"hex": "#8a2175",
"rgb": {
"r": 138,
"g": 33,
"b": 117
},
"hsl": {
"h": 312,
"s": 61.404,
"l": 33.529
},
"oklch": {
"l": 0.44891,
"c": 0.16659,
"h": 337.4
},
"luminance": 0.07775
}Semantic roles & 50–950 ramp
primary
#8A2175
secondary
#4EB964
accent
#E56443
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E