#A0157F#A0157F
#A0157F is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.3% C 0.196 H 340.7°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #A0157F |
|---|---|
| RGB | rgb(160, 21, 127) |
| HSL | hsl(314, 77%, 35%) |
| HSV | hsv(314, 87%, 63%) |
| CMYK | cmyk(0%, 86.9%, 20.6%, 37.3%) |
| CIE-LAB | lab(37.01, 61.77, -24.04) |
| CIE-LCH | lch(37.01, 66.28, 338.74°) |
| OKLab | oklab(48.33% 0.1854 -0.0649) |
| OKLCH | oklch(48.33% 0.196 340.7) |
| XYZ | xyz(18.5968, 9.5442, 20.9374) |
| Luminance | 0.0954 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.69
Red Violet
#9E0168
ΔE00 4.79
Barney Purple
#A00498
ΔE00 5.12
Darkmagenta
#8B008B
ΔE00 6.68
Deep Magenta
#A0025C
ΔE00 7.85
Purple
#800080
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A0157F #15A036
analogous
#7C15A0 #A0157F #A01539
triadic
#A0157F #7FA015 #157FA0
tetradic
#A0157F #A07C15 #15A036 #1539A0
square
#A0157F #A07C15 #15A036 #1539A0
split-complementary
#A0157F #39A015 #15A07C
monochromatic
#340729 #6A0E54 #A0157F #D61CAA #E748C1
Accessibility & contrast
On white
7.22
#A0157F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#A0157F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A0157F
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A0157F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A0157F | 1.00 | 7.22 | 2.91 | 7.22 |
| #FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#244982
Deuteranopia (green-blind)
#535F7C
Tritanopia (blue-blind)
#AA1B4C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #a0157f; /* rgb */ color: rgb(160, 21, 127); /* oklch */ color: oklch(48.3% 0.196 340.7);
Tailwind
colors: {
custom: {
50: '#c068a4',
500: '#a0157f',
950: '#000000',
},
}SCSS
$custom: #a0157f; $custom-light: #c068a4; $custom-dark: #000000;
JSON
{
"hex": "#a0157f",
"rgb": {
"r": 160,
"g": 21,
"b": 127
},
"hsl": {
"h": 314.245,
"s": 76.796,
"l": 35.49
},
"oklch": {
"l": 0.48325,
"c": 0.19643,
"h": 340.7
},
"luminance": 0.09542
}Semantic roles & 50–950 ramp
primary
#A0157F
secondary
#49C867
accent
#F36234
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F