#A5276A#A5276A
#A5276A is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.4% C 0.172 H 353.0°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #A5276A |
|---|---|
| RGB | rgb(165, 39, 106) |
| HSL | hsl(328, 62%, 40%) |
| HSV | hsv(328, 76%, 65%) |
| CMYK | cmyk(0%, 76.4%, 35.8%, 35.3%) |
| CIE-LAB | lab(38.71, 55.72, -8.19) |
| CIE-LCH | lch(38.71, 56.32, 351.64°) |
| OKLab | oklab(49.44% 0.1709 -0.021) |
| OKLCH | oklch(49.44% 0.172 353) |
| XYZ | xyz(18.8453, 10.4933, 14.6659) |
| Luminance | 0.1049 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Magenta
#A0025C
ΔE00 3.96
Red Violet
#9E0168
ΔE00 4.28
Dark Fuchsia
#9D0759
ΔE00 4.38
Violet Red
#A50055
ΔE00 5.08
Magenta (survey)
#C20078
ΔE00 5.20
Dark Magenta
#960056
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5276A #27A562
analogous
#A127A5 #A5276A #A5272B
triadic
#A5276A #6AA527 #276AA5
tetradic
#A5276A #A5A127 #27A562 #272BA5
square
#A5276A #A5A127 #27A562 #272BA5
split-complementary
#A5276A #2BA527 #27A5A1
monochromatic
#42102A #741B4A #A5276A #D03989 #DC6AA7
Accessibility & contrast
On white
6.78
#A5276A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#A5276A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A5276A
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5276A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5276A | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4D6C
Deuteranopia (green-blind)
#626367
Tritanopia (blue-blind)
#B21B45
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #a5276a; /* rgb */ color: rgb(165, 39, 106); /* oklch */ color: oklch(49.4% 0.172 353.0);
Tailwind
colors: {
custom: {
50: '#c46e94',
500: '#a5276a',
950: '#000000',
},
}SCSS
$custom: #a5276a; $custom-light: #c46e94; $custom-dark: #000000;
JSON
{
"hex": "#a5276a",
"rgb": {
"r": 165,
"g": 39,
"b": 106
},
"hsl": {
"h": 328.095,
"s": 61.765,
"l": 40
},
"oklch": {
"l": 0.49442,
"c": 0.17222,
"h": 353
},
"luminance": 0.10491
}Semantic roles & 50–950 ramp
primary
#A5276A
secondary
#66C291
accent
#E58F43
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#13080D
muted
#827B7E