#A7216E#A7216E
#A7216E is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.5% C 0.182 H 351.1°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #A7216E |
|---|---|
| RGB | rgb(167, 33, 110) |
| HSL | hsl(326, 67%, 39%) |
| HSV | hsv(326, 80%, 65%) |
| CMYK | cmyk(0%, 80.2%, 34.1%, 34.5%) |
| CIE-LAB | lab(38.61, 58.49, -10.83) |
| CIE-LCH | lch(38.61, 59.49, 349.51°) |
| OKLab | oklab(49.48% 0.1794 -0.0281) |
| OKLCH | oklch(49.48% 0.182 351.1) |
| XYZ | xyz(19.2958, 10.4313, 15.7461) |
| Luminance | 0.1043 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.59
Deep Magenta
#A0025C
ΔE00 4.18
Magenta (survey)
#C20078
ΔE00 4.72
Dark Fuchsia
#9D0759
ΔE00 4.74
Violet Red
#A50055
ΔE00 5.72
Dark Magenta
#960056
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7216E #21A75A
analogous
#9D21A7 #A7216E #A7212B
triadic
#A7216E #6EA721 #216EA7
tetradic
#A7216E #A79D21 #21A75A #212BA7
square
#A7216E #A79D21 #21A75A #212BA7
split-complementary
#A7216E #2BA721 #21A79D
monochromatic
#410D2B #74174C #A7216E #D62F8F #E062AB
Accessibility & contrast
On white
6.81
#A7216E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#A7216E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A7216E
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7216E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A7216E | 1.00 | 6.81 | 3.09 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A4C70
Deuteranopia (green-blind)
#61636B
Tritanopia (blue-blind)
#B41445
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #a7216e; /* rgb */ color: rgb(167, 33, 110); /* oklch */ color: oklch(49.5% 0.182 351.1);
Tailwind
colors: {
custom: {
50: '#c66c97',
500: '#a7216e',
950: '#000000',
},
}SCSS
$custom: #a7216e; $custom-light: #c66c97; $custom-dark: #000000;
JSON
{
"hex": "#a7216e",
"rgb": {
"r": 167,
"g": 33,
"b": 110
},
"hsl": {
"h": 325.522,
"s": 67,
"l": 39.216
},
"oklch": {
"l": 0.49481,
"c": 0.1816,
"h": 351.1
},
"luminance": 0.10429
}Semantic roles & 50–950 ramp
primary
#A7216E
secondary
#5FC58A
accent
#EA873E
background
#FCF6F9
surface
#F9ECF2
border
#D2C7CC
text
#14080D
muted
#827A7E