#A01F7C#A01F7C
#A01F7C is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.8% C 0.187 H 342.3°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #A01F7C |
|---|---|
| RGB | rgb(160, 31, 124) |
| HSL | hsl(317, 68%, 37%) |
| HSV | hsv(317, 81%, 63%) |
| CMYK | cmyk(0%, 80.6%, 22.5%, 37.3%) |
| CIE-LAB | lab(37.68, 59.04, -21.13) |
| CIE-LCH | lch(37.68, 62.70, 340.31°) |
| OKLab | oklab(48.76% 0.1778 -0.0568) |
| OKLCH | oklch(48.76% 0.187 342.3) |
| XYZ | xyz(18.6260, 9.9108, 19.9969) |
| Luminance | 0.0991 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.33
Warm Purple
#952E8F
ΔE00 5.17
Barney Purple
#A00498
ΔE00 6.20
Magenta (survey)
#C20078
ΔE00 7.14
Deep Magenta
#A0025C
ΔE00 7.16
Light Eggplant
#894585
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A01F7C #1FA043
analogous
#831FA0 #A01F7C #A01F3C
triadic
#A01F7C #7CA01F #1F7CA0
tetradic
#A01F7C #A0831F #1FA043 #1F3CA0
square
#A01F7C #A0831F #1FA043 #1F3CA0
split-complementary
#A01F7C #3CA01F #1FA083
monochromatic
#390B2D #6D1554 #A01F7C #D329A4 #DF5ABA
Accessibility & contrast
On white
7.04
#A01F7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#A01F7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A01F7C
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A01F7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A01F7C | 1.00 | 7.04 | 2.98 | 7.04 |
| #FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4B7E
Deuteranopia (green-blind)
#576079
Tritanopia (blue-blind)
#AA214C
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #a01f7c; /* rgb */ color: rgb(160, 31, 124); /* oklch */ color: oklch(48.8% 0.187 342.3);
Tailwind
colors: {
custom: {
50: '#c06ba2',
500: '#a01f7c',
950: '#000000',
},
}SCSS
$custom: #a01f7c; $custom-light: #c06ba2; $custom-dark: #000000;
JSON
{
"hex": "#a01f7c",
"rgb": {
"r": 160,
"g": 31,
"b": 124
},
"hsl": {
"h": 316.744,
"s": 67.539,
"l": 37.451
},
"oklch": {
"l": 0.48761,
"c": 0.18666,
"h": 342.3
},
"luminance": 0.09909
}Semantic roles & 50–950 ramp
primary
#A01F7C
secondary
#58C376
accent
#EA6E3D
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F