#A71F7A#A71F7A
#A71F7A is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.9% C 0.190 H 345.5°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #A71F7A |
|---|---|
| RGB | rgb(167, 31, 122) |
| HSL | hsl(320, 69%, 39%) |
| HSV | hsv(320, 81%, 65%) |
| CMYK | cmyk(0%, 81.4%, 26.9%, 34.5%) |
| CIE-LAB | lab(38.90, 60.45, -17.89) |
| CIE-LCH | lch(38.90, 63.04, 343.51°) |
| OKLab | oklab(49.86% 0.1837 -0.0476) |
| OKLCH | oklch(49.86% 0.19 345.5) |
| XYZ | xyz(19.9401, 10.6029, 19.4050) |
| Luminance | 0.1060 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.14
Magenta (survey)
#C20078
ΔE00 5.40
Mediumvioletred
#C71585
ΔE00 6.17
Deep Magenta
#A0025C
ΔE00 6.38
Warm Purple
#952E8F
ΔE00 6.61
Dark Fuchsia
#9D0759
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A71F7A #1FA74C
analogous
#901FA7 #A71F7A #A71F36
triadic
#A71F7A #7AA71F #1F7AA7
tetradic
#A71F7A #A7901F #1FA74C #1F36A7
square
#A71F7A #A7901F #1FA74C #1F36A7
split-complementary
#A71F7A #36A71F #1FA790
monochromatic
#400C2F #731554 #A71F7A #D82B9F #E15FB6
Accessibility & contrast
On white
6.73
#A71F7A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#A71F7A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A71F7A
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A71F7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A71F7A | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#334D7C
Deuteranopia (green-blind)
#5D6477
Tritanopia (blue-blind)
#B31B4B
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #a71f7a; /* rgb */ color: rgb(167, 31, 122); /* oklch */ color: oklch(49.9% 0.190 345.5);
Tailwind
colors: {
custom: {
50: '#c66ca0',
500: '#a71f7a',
950: '#000000',
},
}SCSS
$custom: #a71f7a; $custom-light: #c66ca0; $custom-dark: #000000;
JSON
{
"hex": "#a71f7a",
"rgb": {
"r": 167,
"g": 31,
"b": 122
},
"hsl": {
"h": 319.853,
"s": 68.687,
"l": 38.824
},
"oklch": {
"l": 0.49855,
"c": 0.18979,
"h": 345.5
},
"luminance": 0.10601
}Semantic roles & 50–950 ramp
primary
#A71F7A
secondary
#5CC67F
accent
#EC763C
background
#FCF6F9
surface
#F9ECF2
border
#D2C7CC
text
#14080E
muted
#827A7E