#A5164A#A5164A
#A5164A is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.2% C 0.176 H 7.1°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #A5164A |
|---|---|
| RGB | rgb(165, 22, 74) |
| HSL | hsl(338, 76%, 37%) |
| HSV | hsv(338, 87%, 65%) |
| CMYK | cmyk(0%, 86.7%, 55.2%, 35.3%) |
| CIE-LAB | lab(36.12, 57.29, 8.50) |
| CIE-LCH | lch(36.12, 57.92, 8.44°) |
| OKLab | oklab(47.22% 0.1749 0.0218) |
| OKLCH | oklch(47.22% 0.176 7.1) |
| XYZ | xyz(17.0417, 9.0701, 7.3306) |
| Luminance | 0.0907 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 1.97
Raspberry (survey)
#B00149
ΔE00 2.11
Berry
#990F4B
ΔE00 3.47
Purple Red
#990147
ΔE00 3.54
Cranberry
#9E003A
ΔE00 3.88
Violet Red
#A50055
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5164A #16A571
analogous
#A51692 #A5164A #A52A16
triadic
#A5164A #4AA516 #164AA5
tetradic
#A5164A #92A516 #16A571 #2A16A5
square
#A5164A #92A516 #16A571 #2A16A5
split-complementary
#A5164A #16A52A #1692A5
monochromatic
#39081A #6F0F32 #A5164A #DB1D62 #E74E86
Accessibility & contrast
On white
7.46
#A5164A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#A5164A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A5164A
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5164A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5164A | 1.00 | 7.46 | 2.81 | 7.46 |
| #FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#40434B
Deuteranopia (green-blind)
#655F47
Tritanopia (blue-blind)
#B5002F
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #a5164a; /* rgb */ color: rgb(165, 22, 74); /* oklch */ color: oklch(47.2% 0.176 7.1);
Tailwind
colors: {
custom: {
50: '#c6677c',
500: '#a5164a',
950: '#000000',
},
}SCSS
$custom: #a5164a; $custom-light: #c6677c; $custom-dark: #000000;
JSON
{
"hex": "#a5164a",
"rgb": {
"r": 165,
"g": 22,
"b": 74
},
"hsl": {
"h": 338.182,
"s": 76.471,
"l": 36.667
},
"oklch": {
"l": 0.47218,
"c": 0.1762,
"h": 7.1
},
"luminance": 0.09068
}Semantic roles & 50–950 ramp
primary
#A5164A
secondary
#4EC99C
accent
#F3AE35
background
#FDF6F7
surface
#FAEBEE
border
#D3C6C9
text
#140709
muted
#837A7B