#A6218F#A6218F
#A6218F is a mid, highly saturated pink. Relative luminance 0.112; OKLCH L 50.8% C 0.201 H 336.5°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #A6218F |
|---|---|
| RGB | rgb(166, 33, 143) |
| HSL | hsl(310, 67%, 39%) |
| HSV | hsv(310, 80%, 65%) |
| CMYK | cmyk(0%, 80.1%, 13.9%, 34.9%) |
| CIE-LAB | lab(39.88, 62.49, -29.34) |
| CIE-LCH | lch(39.88, 69.03, 334.85°) |
| OKLab | oklab(50.85% 0.1839 -0.08) |
| OKLCH | oklch(50.85% 0.201 336.5) |
| XYZ | xyz(21.2281, 11.1799, 27.0212) |
| Luminance | 0.1118 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.28
Barney Purple
#A00498
ΔE00 3.75
Ugly Purple
#A442A0
ΔE00 5.68
Medium Purple
#9E43A2
ΔE00 6.15
Barney
#AC1DB8
ΔE00 6.99
Darkmagenta
#8B008B
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6218F #21A638
analogous
#7B21A6 #A6218F #A6214D
triadic
#A6218F #8FA621 #218FA6
tetradic
#A6218F #A67B21 #21A638 #214DA6
square
#A6218F #A67B21 #21A638 #214DA6
split-complementary
#A6218F #4DA621 #21A67B
monochromatic
#400D37 #731763 #A6218F #D62FB9 #E062CA
Accessibility & contrast
On white
6.49
#A6218F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#A6218F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A6218F
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6218F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A6218F | 1.00 | 6.49 | 3.24 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#245192
Deuteranopia (green-blind)
#55658C
Tritanopia (blue-blind)
#AF2C57
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #a6218f; /* rgb */ color: rgb(166, 33, 143); /* oklch */ color: oklch(50.8% 0.201 336.5);
Tailwind
colors: {
custom: {
50: '#c46db0',
500: '#a6218f',
950: '#000000',
},
}SCSS
$custom: #a6218f; $custom-light: #c46db0; $custom-dark: #000000;
JSON
{
"hex": "#a6218f",
"rgb": {
"r": 166,
"g": 33,
"b": 143
},
"hsl": {
"h": 310.376,
"s": 66.834,
"l": 39.02
},
"oklch": {
"l": 0.50845,
"c": 0.20058,
"h": 336.5
},
"luminance": 0.11178
}Semantic roles & 50–950 ramp
primary
#A6218F
secondary
#5EC570
accent
#EA5C3E
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F