#A71F56#A71F56
#A71F56 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.5% C 0.174 H 2.7°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #A71F56 |
|---|---|
| RGB | rgb(167, 31, 86) |
| HSL | hsl(336, 69%, 39%) |
| HSV | hsv(336, 81%, 65%) |
| CMYK | cmyk(0%, 81.4%, 48.5%, 34.5%) |
| CIE-LAB | lab(37.61, 56.63, 2.94) |
| CIE-LCH | lch(37.61, 56.71, 2.97°) |
| OKLab | oklab(48.49% 0.1738 0.0081) |
| OKLCH | oklch(48.49% 0.174 2.7) |
| XYZ | xyz(18.1076, 9.8699, 9.7539) |
| Luminance | 0.0987 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 2.66
Purplish Red
#B0054B
ΔE00 3.64
Berry
#990F4B
ΔE00 3.67
Raspberry (survey)
#B00149
ΔE00 4.09
Purple Red
#990147
ΔE00 4.40
Dark Fuchsia
#9D0759
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A71F56 #1FA770
analogous
#A71F9A #A71F56 #A72C1F
triadic
#A71F56 #56A71F #1F56A7
tetradic
#A71F56 #9AA71F #1FA770 #2C1FA7
square
#A71F56 #9AA71F #1FA770 #2C1FA7
split-complementary
#A71F56 #1FA72C #1F9AA7
monochromatic
#400C21 #73153B #A71F56 #D82B71 #E15F94
Accessibility & contrast
On white
7.06
#A71F56 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#A71F56 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A71F56
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A71F56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A71F56 | 1.00 | 7.06 | 2.97 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424857
Deuteranopia (green-blind)
#666253
Tritanopia (blue-blind)
#B60038
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a71f56; /* rgb */ color: rgb(167, 31, 86); /* oklch */ color: oklch(48.5% 0.174 2.7);
Tailwind
colors: {
custom: {
50: '#c76a85',
500: '#a71f56',
950: '#000000',
},
}SCSS
$custom: #a71f56; $custom-light: #c76a85; $custom-dark: #000000;
JSON
{
"hex": "#a71f56",
"rgb": {
"r": 167,
"g": 31,
"b": 86
},
"hsl": {
"h": 335.735,
"s": 68.687,
"l": 38.824
},
"oklch": {
"l": 0.48488,
"c": 0.17398,
"h": 2.7
},
"luminance": 0.09867
}Semantic roles & 50–950 ramp
primary
#A71F56
secondary
#5CC69B
accent
#ECA53C
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14070B
muted
#837A7C