#A5304B#A5304B
#A5304B is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.3% C 0.153 H 11.2°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #A5304B |
|---|---|
| RGB | rgb(165, 48, 75) |
| HSL | hsl(346, 55%, 42%) |
| HSV | hsv(346, 71%, 65%) |
| CMYK | cmyk(0%, 70.9%, 54.5%, 35.3%) |
| CIE-LAB | lab(38.94, 49.50, 11.78) |
| CIE-LCH | lch(38.94, 50.88, 13.39°) |
| OKLab | oklab(49.31% 0.1499 0.0298) |
| OKLCH | oklch(49.31% 0.153 11.2) |
| XYZ | xyz(17.8456, 10.6237, 7.7661) |
| Luminance | 0.1062 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 4.23
Purplish Red
#B0054B
ΔE00 4.26
Light Burgundy
#A8415B
ΔE00 4.26
Rouge
#AB1239
ΔE00 4.81
Light Maroon
#A24857
ΔE00 4.98
Cranberry
#9E003A
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5304B #30A58A
analogous
#A53086 #A5304B #A55030
triadic
#A5304B #4BA530 #304BA5
tetradic
#A5304B #86A530 #30A58A #5030A5
square
#A5304B #86A530 #30A58A #5030A5
split-complementary
#A5304B #30A550 #3086A5
monochromatic
#461420 #762235 #A5304B #CA4866 #D8788E
Accessibility & contrast
On white
6.72
#A5304B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#A5304B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A5304B
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5304B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5304B | 1.00 | 6.72 | 3.12 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4D4B
Deuteranopia (green-blind)
#6B6448
Tritanopia (blue-blind)
#B4173B
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #a5304b; /* rgb */ color: rgb(165, 48, 75); /* oklch */ color: oklch(49.3% 0.153 11.2);
Tailwind
colors: {
custom: {
50: '#c5717d',
500: '#a5304b',
950: '#000000',
},
}SCSS
$custom: #a5304b; $custom-light: #c5717d; $custom-dark: #000000;
JSON
{
"hex": "#a5304b",
"rgb": {
"r": 165,
"g": 48,
"b": 75
},
"hsl": {
"h": 346.154,
"s": 54.93,
"l": 41.765
},
"oklch": {
"l": 0.49307,
"c": 0.15279,
"h": 11.2
},
"luminance": 0.10621
}Semantic roles & 50–950 ramp
primary
#A5304B
secondary
#71C0AE
accent
#DEBC4A
background
#FCF7F7
surface
#F9EDEE
border
#D2C8C9
text
#140809
muted
#827B7B