#A5216F#A5216F
#A5216F is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.2% C 0.181 H 350.0°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #A5216F |
|---|---|
| RGB | rgb(165, 33, 111) |
| HSL | hsl(325, 67%, 39%) |
| HSV | hsv(325, 80%, 65%) |
| CMYK | cmyk(0%, 80%, 32.7%, 35.3%) |
| CIE-LAB | lab(38.26, 58.10, -12.01) |
| CIE-LCH | lch(38.26, 59.33, 348.32°) |
| OKLab | oklab(49.18% 0.178 -0.0314) |
| OKLCH | oklch(49.18% 0.181 350) |
| XYZ | xyz(18.9312, 10.2370, 16.0148) |
| Luminance | 0.1023 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.24
Deep Magenta
#A0025C
ΔE00 4.30
Dark Fuchsia
#9D0759
ΔE00 4.87
Magenta (survey)
#C20078
ΔE00 5.10
Dark Magenta
#960056
ΔE00 5.80
Violet Red
#A50055
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5216F #21A557
analogous
#9921A5 #A5216F #A5212D
triadic
#A5216F #6FA521 #216FA5
tetradic
#A5216F #A59921 #21A557 #212DA5
square
#A5216F #A59921 #21A557 #212DA5
split-complementary
#A5216F #2DA521 #21A599
monochromatic
#3F0D2A #72174D #A5216F #D52E91 #DF61AC
Accessibility & contrast
On white
6.89
#A5216F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#A5216F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A5216F
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5216F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5216F | 1.00 | 6.89 | 3.05 | 6.89 |
| #FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394B71
Deuteranopia (green-blind)
#5F626C
Tritanopia (blue-blind)
#B21646
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #a5216f; /* rgb */ color: rgb(165, 33, 111); /* oklch */ color: oklch(49.2% 0.181 350.0);
Tailwind
colors: {
custom: {
50: '#c46c98',
500: '#a5216f',
950: '#000000',
},
}SCSS
$custom: #a5216f; $custom-light: #c46c98; $custom-dark: #000000;
JSON
{
"hex": "#a5216f",
"rgb": {
"r": 165,
"g": 33,
"b": 111
},
"hsl": {
"h": 324.545,
"s": 66.667,
"l": 38.824
},
"oklch": {
"l": 0.49176,
"c": 0.1807,
"h": 350
},
"luminance": 0.10235
}Semantic roles & 50–950 ramp
primary
#A5216F
secondary
#5EC488
accent
#EA843E
background
#FCF6F9
surface
#F9ECF2
border
#D2C7CC
text
#13080D
muted
#827A7E