#A5276C#A5276C
#A5276C is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.5% C 0.173 H 352.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #A5276C |
|---|---|
| RGB | rgb(165, 39, 108) |
| HSL | hsl(327, 62%, 40%) |
| HSV | hsv(327, 76%, 65%) |
| CMYK | cmyk(0%, 76.4%, 34.5%, 35.3%) |
| CIE-LAB | lab(38.79, 55.95, -9.34) |
| CIE-LCH | lch(38.79, 56.72, 350.53°) |
| OKLab | oklab(49.52% 0.1715 -0.0241) |
| OKLCH | oklch(49.52% 0.173 352) |
| XYZ | xyz(18.9505, 10.5354, 15.2200) |
| Luminance | 0.1053 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.10
Deep Magenta
#A0025C
ΔE00 4.19
Dark Fuchsia
#9D0759
ΔE00 4.65
Magenta (survey)
#C20078
ΔE00 5.09
Violet Red
#A50055
ΔE00 5.49
Dark Magenta
#960056
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5276C #27A560
analogous
#9F27A5 #A5276C #A5272D
triadic
#A5276C #6CA527 #276CA5
tetradic
#A5276C #A59F27 #27A560 #272DA5
square
#A5276C #A59F27 #27A560 #272DA5
split-complementary
#A5276C #2DA527 #27A59F
monochromatic
#42102B #741B4C #A5276C #D0398C #DC6AA9
Accessibility & contrast
On white
6.76
#A5276C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#A5276C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A5276C
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5276C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5276C | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4D6E
Deuteranopia (green-blind)
#626469
Tritanopia (blue-blind)
#B21C46
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #a5276c; /* rgb */ color: rgb(165, 39, 108); /* oklch */ color: oklch(49.5% 0.173 352.0);
Tailwind
colors: {
custom: {
50: '#c46e96',
500: '#a5276c',
950: '#000000',
},
}SCSS
$custom: #a5276c; $custom-light: #c46e96; $custom-dark: #000000;
JSON
{
"hex": "#a5276c",
"rgb": {
"r": 165,
"g": 39,
"b": 108
},
"hsl": {
"h": 327.143,
"s": 61.765,
"l": 40
},
"oklch": {
"l": 0.49519,
"c": 0.17317,
"h": 352
},
"luminance": 0.10533
}Semantic roles & 50–950 ramp
primary
#A5276C
secondary
#66C28F
accent
#E58C43
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#13080D
muted
#827B7E