#A5305A#A5305A
#A5305A is a mid, vivid pink. Relative luminance 0.109; OKLCH L 49.7% C 0.156 H 2.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #A5305A |
|---|---|
| RGB | rgb(165, 48, 90) |
| HSL | hsl(338, 55%, 42%) |
| HSV | hsv(338, 71%, 65%) |
| CMYK | cmyk(0%, 70.9%, 45.5%, 35.3%) |
| CIE-LAB | lab(39.33, 50.85, 2.83) |
| CIE-LCH | lch(39.33, 50.93, 3.19°) |
| OKLab | oklab(49.73% 0.1556 0.0079) |
| OKLCH | oklch(49.73% 0.156 2.9) |
| XYZ | xyz(18.4209, 10.8538, 10.7958) |
| Luminance | 0.1085 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.21
Violet Red
#A50055
ΔE00 4.73
Purplish Red
#B0054B
ΔE00 4.83
Raspberry (survey)
#B00149
ΔE00 5.24
Berry
#990F4B
ΔE00 5.33
Dark Fuchsia
#9D0759
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5305A #30A57B
analogous
#A53095 #A5305A #A54130
triadic
#A5305A #5AA530 #305AA5
tetradic
#A5305A #95A530 #30A57B #4130A5
square
#A5305A #95A530 #30A57B #4130A5
split-complementary
#A5305A #30A541 #3095A5
monochromatic
#461426 #762240 #A5305A #CA4877 #D8789A
Accessibility & contrast
On white
6.62
#A5305A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#A5305A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A5305A
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5305A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5305A | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494E5B
Deuteranopia (green-blind)
#696557
Tritanopia (blue-blind)
#B31E41
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #a5305a; /* rgb */ color: rgb(165, 48, 90); /* oklch */ color: oklch(49.7% 0.156 2.9);
Tailwind
colors: {
custom: {
50: '#c57188',
500: '#a5305a',
950: '#000000',
},
}SCSS
$custom: #a5305a; $custom-light: #c57188; $custom-dark: #000000;
JSON
{
"hex": "#a5305a",
"rgb": {
"r": 165,
"g": 48,
"b": 90
},
"hsl": {
"h": 338.462,
"s": 54.93,
"l": 41.765
},
"oklch": {
"l": 0.49727,
"c": 0.1558,
"h": 2.9
},
"luminance": 0.10851
}Semantic roles & 50–950 ramp
primary
#A5305A
secondary
#71C0A4
accent
#DEA94A
background
#FCF7F8
surface
#F9EDEF
border
#D2C8CA
text
#14080B
muted
#827B7C