#A5174C#A5174C
#A5174C is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.3% C 0.176 H 6.2°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #A5174C |
|---|---|
| RGB | rgb(165, 23, 76) |
| HSL | hsl(338, 76%, 37%) |
| HSV | hsv(338, 86%, 65%) |
| CMYK | cmyk(0%, 86.1%, 53.9%, 35.3%) |
| CIE-LAB | lab(36.25, 57.23, 7.38) |
| CIE-LCH | lch(36.25, 57.70, 7.35°) |
| OKLab | oklab(47.33% 0.1749 0.0191) |
| OKLCH | oklch(47.33% 0.176 6.2) |
| XYZ | xyz(17.1296, 9.1364, 7.6976) |
| Luminance | 0.0913 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.14
Raspberry (survey)
#B00149
ΔE00 2.39
Berry
#990F4B
ΔE00 3.19
Purple Red
#990147
ΔE00 3.40
Violet Red
#A50055
ΔE00 3.72
Cranberry
#9E003A
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5174C #17A570
analogous
#A51793 #A5174C #A52917
triadic
#A5174C #4CA517 #174CA5
tetradic
#A5174C #93A517 #17A570 #2917A5
square
#A5174C #93A517 #17A570 #2917A5
split-complementary
#A5174C #17A529 #1793A5
monochromatic
#3A081B #6F1033 #A5174C #DB1E65 #E75088
Accessibility & contrast
On white
7.43
#A5174C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#A5174C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A5174C
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5174C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5174C | 1.00 | 7.43 | 2.83 | 7.43 |
| #FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#40444D
Deuteranopia (green-blind)
#655F49
Tritanopia (blue-blind)
#B40030
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #a5174c; /* rgb */ color: rgb(165, 23, 76); /* oklch */ color: oklch(47.3% 0.176 6.2);
Tailwind
colors: {
custom: {
50: '#c6677d',
500: '#a5174c',
950: '#000000',
},
}SCSS
$custom: #a5174c; $custom-light: #c6677d; $custom-dark: #000000;
JSON
{
"hex": "#a5174c",
"rgb": {
"r": 165,
"g": 23,
"b": 76
},
"hsl": {
"h": 337.606,
"s": 75.532,
"l": 36.863
},
"oklch": {
"l": 0.47328,
"c": 0.17596,
"h": 6.2
},
"luminance": 0.09134
}Semantic roles & 50–950 ramp
primary
#A5174C
secondary
#4FC99B
accent
#F2AC36
background
#FDF6F7
surface
#FAEBEE
border
#D3C6C9
text
#140709
muted
#837A7B