#A01F7E#A01F7E
#A01F7E is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.9% C 0.188 H 341.4°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #A01F7E |
|---|---|
| RGB | rgb(160, 31, 126) |
| HSL | hsl(316, 68%, 37%) |
| HSV | hsv(316, 81%, 63%) |
| CMYK | cmyk(0%, 80.6%, 21.2%, 37.3%) |
| CIE-LAB | lab(37.77, 59.30, -22.23) |
| CIE-LCH | lch(37.77, 63.33, 339.45°) |
| OKLab | oklab(48.86% 0.1781 -0.0599) |
| OKLCH | oklch(48.86% 0.188 341.4) |
| XYZ | xyz(18.7537, 9.9619, 20.6698) |
| Luminance | 0.0996 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.71
Warm Purple
#952E8F
ΔE00 4.77
Barney Purple
#A00498
ΔE00 5.78
Magenta (survey)
#C20078
ΔE00 7.37
Light Eggplant
#894585
ΔE00 7.41
Darkmagenta
#8B008B
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A01F7E #1FA041
analogous
#821FA0 #A01F7E #A01F3E
triadic
#A01F7E #7EA01F #1F7EA0
tetradic
#A01F7E #A0821F #1FA041 #1F3EA0
square
#A01F7E #A0821F #1FA041 #1F3EA0
split-complementary
#A01F7E #3EA01F #1FA082
monochromatic
#390B2D #6D1556 #A01F7E #D329A6 #DF5ABC
Accessibility & contrast
On white
7.02
#A01F7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#A01F7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A01F7E
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A01F7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A01F7E | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4C80
Deuteranopia (green-blind)
#56607B
Tritanopia (blue-blind)
#AA224D
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #a01f7e; /* rgb */ color: rgb(160, 31, 126); /* oklch */ color: oklch(48.9% 0.188 341.4);
Tailwind
colors: {
custom: {
50: '#c06ba3',
500: '#a01f7e',
950: '#000000',
},
}SCSS
$custom: #a01f7e; $custom-light: #c06ba3; $custom-dark: #000000;
JSON
{
"hex": "#a01f7e",
"rgb": {
"r": 160,
"g": 31,
"b": 126
},
"hsl": {
"h": 315.814,
"s": 67.539,
"l": 37.451
},
"oklch": {
"l": 0.48858,
"c": 0.1879,
"h": 341.4
},
"luminance": 0.0996
}Semantic roles & 50–950 ramp
primary
#A01F7E
secondary
#58C374
accent
#EA6B3D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F