#A0217F#A0217F
#A0217F is a mid, vivid pink. Relative luminance 0.101; OKLCH L 49.0% C 0.187 H 341.1°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #A0217F |
|---|---|
| RGB | rgb(160, 33, 127) |
| HSL | hsl(316, 66%, 38%) |
| HSV | hsv(316, 79%, 63%) |
| CMYK | cmyk(0%, 79.4%, 20.6%, 37.3%) |
| CIE-LAB | lab(38.01, 58.88, -22.48) |
| CIE-LCH | lch(38.01, 63.03, 339.10°) |
| OKLab | oklab(49.05% 0.1766 -0.0606) |
| OKLCH | oklch(49.05% 0.187 341.1) |
| XYZ | xyz(18.8724, 10.0956, 21.0293) |
| Luminance | 0.1009 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.59
Red Violet
#9E0168
ΔE00 4.96
Barney Purple
#A00498
ΔE00 5.70
Light Eggplant
#894585
ΔE00 7.21
Magenta (survey)
#C20078
ΔE00 7.40
Darkmagenta
#8B008B
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A0217F #21A042
analogous
#8221A0 #A0217F #A0213F
triadic
#A0217F #7FA021 #217FA0
tetradic
#A0217F #A08221 #21A042 #213FA0
square
#A0217F #A08221 #21A042 #213FA0
split-complementary
#A0217F #3FA021 #21A082
monochromatic
#3B0C2E #6D1757 #A0217F #D32BA7 #DE5EBC
Accessibility & contrast
On white
6.96
#A0217F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#A0217F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A0217F
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A0217F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A0217F | 1.00 | 6.96 | 3.02 | 6.96 |
| #FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4D81
Deuteranopia (green-blind)
#56617C
Tritanopia (blue-blind)
#AA244E
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #a0217f; /* rgb */ color: rgb(160, 33, 127); /* oklch */ color: oklch(49.0% 0.187 341.1);
Tailwind
colors: {
custom: {
50: '#c06ba4',
500: '#a0217f',
950: '#000000',
},
}SCSS
$custom: #a0217f; $custom-light: #c06ba4; $custom-dark: #000000;
JSON
{
"hex": "#a0217f",
"rgb": {
"r": 160,
"g": 33,
"b": 127
},
"hsl": {
"h": 315.591,
"s": 65.803,
"l": 37.843
},
"oklch": {
"l": 0.49045,
"c": 0.18666,
"h": 341.1
},
"luminance": 0.10094
}Semantic roles & 50–950 ramp
primary
#A0217F
secondary
#5BC275
accent
#E96B3F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F