#A71F58#A71F58
#A71F58 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.6% C 0.175 H 1.7°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #A71F58 |
|---|---|
| RGB | rgb(167, 31, 88) |
| HSL | hsl(335, 69%, 39%) |
| HSV | hsv(335, 81%, 65%) |
| CMYK | cmyk(0%, 81.4%, 47.3%, 34.5%) |
| CIE-LAB | lab(37.67, 56.81, 1.74) |
| CIE-LCH | lch(37.67, 56.84, 1.76°) |
| OKLab | oklab(48.55% 0.1745 0.0051) |
| OKLCH | oklch(48.55% 0.175 1.7) |
| XYZ | xyz(18.1893, 9.9026, 10.1842) |
| Luminance | 0.0990 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 2.45
Berry
#990F4B
ΔE00 3.80
Purplish Red
#B0054B
ΔE00 4.14
Dark Fuchsia
#9D0759
ΔE00 4.16
Deep Magenta
#A0025C
ΔE00 4.30
Purple Red
#990147
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A71F58 #1FA76E
analogous
#A71F9C #A71F58 #A72A1F
triadic
#A71F58 #58A71F #1F58A7
tetradic
#A71F58 #9CA71F #1FA76E #2A1FA7
square
#A71F58 #9CA71F #1FA76E #2A1FA7
split-complementary
#A71F58 #1FA72A #1F9CA7
monochromatic
#400C22 #73153D #A71F58 #D82B74 #E15F96
Accessibility & contrast
On white
7.05
#A71F58 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#A71F58 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A71F58
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A71F58 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A71F58 | 1.00 | 7.05 | 2.98 | 7.05 |
| #FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414859
Deuteranopia (green-blind)
#656255
Tritanopia (blue-blind)
#B60039
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #a71f58; /* rgb */ color: rgb(167, 31, 88); /* oklch */ color: oklch(48.6% 0.175 1.7);
Tailwind
colors: {
custom: {
50: '#c76a86',
500: '#a71f58',
950: '#000000',
},
}SCSS
$custom: #a71f58; $custom-light: #c76a86; $custom-dark: #000000;
JSON
{
"hex": "#a71f58",
"rgb": {
"r": 167,
"g": 31,
"b": 88
},
"hsl": {
"h": 334.853,
"s": 68.687,
"l": 38.824
},
"oklch": {
"l": 0.48551,
"c": 0.17457,
"h": 1.7
},
"luminance": 0.099
}Semantic roles & 50–950 ramp
primary
#A71F58
secondary
#5CC699
accent
#ECA23C
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14070B
muted
#827A7C