#A5305E#A5305E
#A5305E is a mid, vivid pink. Relative luminance 0.109; OKLCH L 49.9% C 0.157 H 0.7°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #A5305E |
|---|---|
| RGB | rgb(165, 48, 94) |
| HSL | hsl(336, 55%, 42%) |
| HSV | hsv(336, 71%, 65%) |
| CMYK | cmyk(0%, 70.9%, 43%, 35.3%) |
| CIE-LAB | lab(39.45, 51.25, 0.48) |
| CIE-LCH | lch(39.45, 51.25, 0.53°) |
| OKLab | oklab(49.85% 0.157 0.0018) |
| OKLCH | oklch(49.85% 0.157 0.7) |
| XYZ | xyz(18.5957, 10.9237, 11.7167) |
| Luminance | 0.1092 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.54
Light Burgundy
#A8415B
ΔE00 4.96
Dark Fuchsia
#9D0759
ΔE00 5.52
Berry
#990F4B
ΔE00 5.57
Deep Magenta
#A0025C
ΔE00 5.59
Purplish Red
#B0054B
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5305E #30A577
analogous
#A53099 #A5305E #A53C30
triadic
#A5305E #5EA530 #305EA5
tetradic
#A5305E #99A530 #30A577 #3C30A5
square
#A5305E #99A530 #30A577 #3C30A5
split-complementary
#A5305E #30A53C #3099A5
monochromatic
#461428 #762243 #A5305E #CA487B #D8789D
Accessibility & contrast
On white
6.60
#A5305E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#A5305E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A5305E
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5305E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5305E | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484F5F
Deuteranopia (green-blind)
#68655B
Tritanopia (blue-blind)
#B32043
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #a5305e; /* rgb */ color: rgb(165, 48, 94); /* oklch */ color: oklch(49.9% 0.157 0.7);
Tailwind
colors: {
custom: {
50: '#c4718b',
500: '#a5305e',
950: '#000000',
},
}SCSS
$custom: #a5305e; $custom-light: #c4718b; $custom-dark: #000000;
JSON
{
"hex": "#a5305e",
"rgb": {
"r": 165,
"g": 48,
"b": 94
},
"hsl": {
"h": 336.41,
"s": 54.93,
"l": 41.765
},
"oklch": {
"l": 0.49854,
"c": 0.15703,
"h": 0.7
},
"luminance": 0.10921
}Semantic roles & 50–950 ramp
primary
#A5305E
secondary
#71C0A1
accent
#DEA44A
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#13080C
muted
#827B7D