#A5154A#A5154A
#A5154A is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.2% C 0.177 H 7.0°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #A5154A |
|---|---|
| RGB | rgb(165, 21, 74) |
| HSL | hsl(338, 77%, 36%) |
| HSV | hsv(338, 87%, 65%) |
| CMYK | cmyk(0%, 87.3%, 55.2%, 35.3%) |
| CIE-LAB | lab(36.05, 57.50, 8.40) |
| CIE-LCH | lch(36.05, 58.11, 8.31°) |
| OKLab | oklab(47.17% 0.1755 0.0215) |
| OKLCH | oklch(47.17% 0.177 7) |
| XYZ | xyz(17.0229, 9.0326, 7.3244) |
| Luminance | 0.0903 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 1.98
Raspberry (survey)
#B00149
ΔE00 2.13
Berry
#990F4B
ΔE00 3.40
Purple Red
#990147
ΔE00 3.46
Cranberry
#9E003A
ΔE00 3.89
Violet Red
#A50055
ΔE00 4.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5154A #15A570
analogous
#A51592 #A5154A #A52815
triadic
#A5154A #4AA515 #154AA5
tetradic
#A5154A #92A515 #15A570 #2815A5
square
#A5154A #92A515 #15A570 #2815A5
split-complementary
#A5154A #15A528 #1592A5
monochromatic
#380719 #6F0E32 #A5154A #DB1C62 #E84C86
Accessibility & contrast
On white
7.48
#A5154A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#A5154A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A5154A
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5154A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5154A | 1.00 | 7.48 | 2.81 | 7.48 |
| #FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#40434B
Deuteranopia (green-blind)
#655F47
Tritanopia (blue-blind)
#B5002E
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #a5154a; /* rgb */ color: rgb(165, 21, 74); /* oklch */ color: oklch(47.2% 0.177 7.0);
Tailwind
colors: {
custom: {
50: '#c6677c',
500: '#a5154a',
950: '#000000',
},
}SCSS
$custom: #a5154a; $custom-light: #c6677c; $custom-dark: #000000;
JSON
{
"hex": "#a5154a",
"rgb": {
"r": 165,
"g": 21,
"b": 74
},
"hsl": {
"h": 337.917,
"s": 77.419,
"l": 36.471
},
"oklch": {
"l": 0.47165,
"c": 0.17684,
"h": 7
},
"luminance": 0.0903
}Semantic roles & 50–950 ramp
primary
#A5154A
secondary
#4CCA9C
accent
#F4AD34
background
#FDF6F7
surface
#FAEBEE
border
#D3C6C9
text
#140709
muted
#837A7B