#A5164E#A5164E
#A5164E is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.3% C 0.177 H 5.1°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #A5164E |
|---|---|
| RGB | rgb(165, 22, 78) |
| HSL | hsl(337, 76%, 37%) |
| HSV | hsv(337, 87%, 65%) |
| CMYK | cmyk(0%, 86.7%, 52.7%, 35.3%) |
| CIE-LAB | lab(36.23, 57.60, 6.06) |
| CIE-LCH | lch(36.23, 57.92, 6.00°) |
| OKLab | oklab(47.33% 0.1764 0.0159) |
| OKLCH | oklch(47.33% 0.177 5.1) |
| XYZ | xyz(17.1807, 9.1257, 8.0630) |
| Luminance | 0.0912 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.50
Raspberry (survey)
#B00149
ΔE00 2.82
Berry
#990F4B
ΔE00 2.85
Violet Red
#A50055
ΔE00 3.08
Purple Red
#990147
ΔE00 3.20
Cranberry
#9E003A
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5164E #16A56D
analogous
#A51696 #A5164E #A52516
triadic
#A5164E #4EA516 #164EA5
tetradic
#A5164E #96A516 #16A56D #2516A5
square
#A5164E #96A516 #16A56D #2516A5
split-complementary
#A5164E #16A525 #1696A5
monochromatic
#39081B #6F0F34 #A5164E #DB1D68 #E74E8A
Accessibility & contrast
On white
7.43
#A5164E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#A5164E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A5164E
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5164E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5164E | 1.00 | 7.43 | 2.82 | 7.43 |
| #FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F434F
Deuteranopia (green-blind)
#645F4B
Tritanopia (blue-blind)
#B40031
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #a5164e; /* rgb */ color: rgb(165, 22, 78); /* oklch */ color: oklch(47.3% 0.177 5.1);
Tailwind
colors: {
custom: {
50: '#c6677f',
500: '#a5164e',
950: '#000000',
},
}SCSS
$custom: #a5164e; $custom-light: #c6677f; $custom-dark: #000000;
JSON
{
"hex": "#a5164e",
"rgb": {
"r": 165,
"g": 22,
"b": 78
},
"hsl": {
"h": 336.503,
"s": 76.471,
"l": 36.667
},
"oklch": {
"l": 0.4733,
"c": 0.17707,
"h": 5.1
},
"luminance": 0.09123
}Semantic roles & 50–950 ramp
primary
#A5164E
secondary
#4EC999
accent
#F3A935
background
#FDF6F7
surface
#FAEBEE
border
#D3C6C9
text
#14070A
muted
#837A7C