#A71F51#A71F51
#A71F51 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.3% C 0.173 H 5.2°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #A71F51 |
|---|---|
| RGB | rgb(167, 31, 81) |
| HSL | hsl(338, 69%, 39%) |
| HSV | hsv(338, 81%, 65%) |
| CMYK | cmyk(0%, 81.4%, 51.5%, 34.5%) |
| CIE-LAB | lab(37.47, 56.21, 5.94) |
| CIE-LCH | lch(37.47, 56.52, 6.04°) |
| OKLab | oklab(48.34% 0.172 0.0156) |
| OKLCH | oklch(48.34% 0.173 5.2) |
| XYZ | xyz(17.9132, 9.7921, 8.7298) |
| Luminance | 0.0979 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.49
Raspberry (survey)
#B00149
ΔE00 2.88
Violet Red
#A50055
ΔE00 3.61
Berry
#990F4B
ΔE00 3.76
Purple Red
#990147
ΔE00 4.24
Cranberry
#9E003A
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A71F51 #1FA775
analogous
#A71F95 #A71F51 #A7311F
triadic
#A71F51 #51A71F #1F51A7
tetradic
#A71F51 #95A71F #1FA775 #311FA7
square
#A71F51 #95A71F #1FA775 #311FA7
split-complementary
#A71F51 #1FA731 #1F95A7
monochromatic
#400C1F #731538 #A71F51 #D82B6B #E15F8F
Accessibility & contrast
On white
7.10
#A71F51 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#A71F51 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A71F51
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A71F51 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A71F51 | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434752
Deuteranopia (green-blind)
#67624E
Tritanopia (blue-blind)
#B60036
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a71f51; /* rgb */ color: rgb(167, 31, 81); /* oklch */ color: oklch(48.3% 0.173 5.2);
Tailwind
colors: {
custom: {
50: '#c76a81',
500: '#a71f51',
950: '#000000',
},
}SCSS
$custom: #a71f51; $custom-light: #c76a81; $custom-dark: #000000;
JSON
{
"hex": "#a71f51",
"rgb": {
"r": 167,
"g": 31,
"b": 81
},
"hsl": {
"h": 337.941,
"s": 68.687,
"l": 38.824
},
"oklch": {
"l": 0.48339,
"c": 0.17269,
"h": 5.2
},
"luminance": 0.0979
}Semantic roles & 50–950 ramp
primary
#A71F51
secondary
#5CC69F
accent
#ECAB3C
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14070A
muted
#837A7C