#A02F78#A02F78
#A02F78 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 49.9% C 0.167 H 345.2°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #A02F78 |
|---|---|
| RGB | rgb(160, 47, 120) |
| HSL | hsl(321, 55%, 41%) |
| HSV | hsv(321, 71%, 63%) |
| CMYK | cmyk(0%, 70.6%, 25%, 37.3%) |
| CIE-LAB | lab(39.35, 53.28, -16.07) |
| CIE-LCH | lch(39.35, 55.65, 343.22°) |
| OKLab | oklab(49.92% 0.161 -0.0427) |
| OKLCH | oklch(49.92% 0.167 345.2) |
| XYZ | xyz(18.9046, 10.8646, 18.8672) |
| Luminance | 0.1086 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.94
Magenta (survey)
#C20078
ΔE00 6.29
Warm Purple
#952E8F
ΔE00 6.64
Deep Magenta
#A0025C
ΔE00 6.73
Mediumvioletred
#C71585
ΔE00 6.92
Light Eggplant
#894585
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A02F78 #2FA057
analogous
#8F2FA0 #A02F78 #A02F3F
triadic
#A02F78 #78A02F #2F78A0
tetradic
#A02F78 #A08F2F #2FA057 #2F3FA0
square
#A02F78 #A08F2F #2FA057 #2F3FA0
split-complementary
#A02F78 #3FA02F #2FA08F
monochromatic
#411331 #712155 #A02F78 #C84499 #D673B3
Accessibility & contrast
On white
6.62
#A02F78 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#A02F78 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A02F78
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A02F78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A02F78 | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C507A
Deuteranopia (green-blind)
#5E6475
Tritanopia (blue-blind)
#AB2D4F
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #a02f78; /* rgb */ color: rgb(160, 47, 120); /* oklch */ color: oklch(49.9% 0.167 345.2);
Tailwind
colors: {
custom: {
50: '#c0719f',
500: '#a02f78',
950: '#000000',
},
}SCSS
$custom: #a02f78; $custom-light: #c0719f; $custom-dark: #000000;
JSON
{
"hex": "#a02f78",
"rgb": {
"r": 160,
"g": 47,
"b": 120
},
"hsl": {
"h": 321.239,
"s": 54.589,
"l": 40.588
},
"oklch": {
"l": 0.49917,
"c": 0.16657,
"h": 345.2
},
"luminance": 0.10863
}Semantic roles & 50–950 ramp
primary
#A02F78
secondary
#6DBE8A
accent
#DE7E4A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E