#A71F4C#A71F4C
#A71F4C is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.172 H 7.7°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #A71F4C |
|---|---|
| RGB | rgb(167, 31, 76) |
| HSL | hsl(340, 69%, 39%) |
| HSV | hsv(340, 81%, 65%) |
| CMYK | cmyk(0%, 81.4%, 54.5%, 34.5%) |
| CIE-LAB | lab(37.33, 55.81, 8.97) |
| CIE-LCH | lch(37.33, 56.53, 9.13°) |
| OKLab | oklab(48.2% 0.1701 0.023) |
| OKLCH | oklch(48.2% 0.172 7.7) |
| XYZ | xyz(17.7325, 9.7198, 7.7785) |
| Luminance | 0.0972 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 1.88
Raspberry (survey)
#B00149
ΔE00 2.06
Berry
#990F4B
ΔE00 4.40
Cranberry
#9E003A
ΔE00 4.43
Purple Red
#990147
ΔE00 4.61
Violet Red
#A50055
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A71F4C #1FA77A
analogous
#A71F90 #A71F4C #A7361F
triadic
#A71F4C #4CA71F #1F4CA7
tetradic
#A71F4C #90A71F #1FA77A #361FA7
square
#A71F4C #90A71F #1FA77A #361FA7
split-complementary
#A71F4C #1FA736 #1F90A7
monochromatic
#400C1D #731535 #A71F4C #D82B64 #E15F8A
Accessibility & contrast
On white
7.13
#A71F4C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#A71F4C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A71F4C
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A71F4C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A71F4C | 1.00 | 7.13 | 2.94 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#44474D
Deuteranopia (green-blind)
#686249
Tritanopia (blue-blind)
#B70033
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a71f4c; /* rgb */ color: rgb(167, 31, 76); /* oklch */ color: oklch(48.2% 0.172 7.7);
Tailwind
colors: {
custom: {
50: '#c86a7d',
500: '#a71f4c',
950: '#000000',
},
}SCSS
$custom: #a71f4c; $custom-light: #c86a7d; $custom-dark: #000000;
JSON
{
"hex": "#a71f4c",
"rgb": {
"r": 167,
"g": 31,
"b": 76
},
"hsl": {
"h": 340.147,
"s": 68.687,
"l": 38.824
},
"oklch": {
"l": 0.48199,
"c": 0.17163,
"h": 7.7
},
"luminance": 0.09717
}Semantic roles & 50–950 ramp
primary
#A71F4C
secondary
#5CC6A3
accent
#ECB23C
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#140709
muted
#837A7B