#A1157C#A1157C
#A1157C is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.3% C 0.195 H 342.3°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #A1157C |
|---|---|
| RGB | rgb(161, 21, 124) |
| HSL | hsl(316, 77%, 36%) |
| HSV | hsv(316, 87%, 63%) |
| CMYK | cmyk(0%, 87%, 23%, 36.9%) |
| CIE-LAB | lab(37.06, 61.60, -22.08) |
| CIE-LCH | lch(37.06, 65.44, 340.28°) |
| OKLab | oklab(48.35% 0.1859 -0.0594) |
| OKLCH | oklch(48.35% 0.195 342.3) |
| XYZ | xyz(18.6049, 9.5707, 19.9324) |
| Luminance | 0.0957 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.13
Warm Purple
#952E8F
ΔE00 5.33
Barney Purple
#A00498
ΔE00 5.86
Deep Magenta
#A0025C
ΔE00 7.14
Magenta (survey)
#C20078
ΔE00 7.33
Darkmagenta
#8B008B
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1157C #15A13A
analogous
#8015A1 #A1157C #A11536
triadic
#A1157C #7CA115 #157CA1
tetradic
#A1157C #A18015 #15A13A #1536A1
square
#A1157C #A18015 #15A13A #1536A1
split-complementary
#A1157C #36A115 #15A180
monochromatic
#350729 #6B0E52 #A1157C #D71CA6 #E749BD
Accessibility & contrast
On white
7.21
#A1157C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#A1157C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A1157C
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1157C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A1157C | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28497E
Deuteranopia (green-blind)
#555F79
Tritanopia (blue-blind)
#AC174A
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #a1157c; /* rgb */ color: rgb(161, 21, 124); /* oklch */ color: oklch(48.3% 0.195 342.3);
Tailwind
colors: {
custom: {
50: '#c168a2',
500: '#a1157c',
950: '#000000',
},
}SCSS
$custom: #a1157c; $custom-light: #c168a2; $custom-dark: #000000;
JSON
{
"hex": "#a1157c",
"rgb": {
"r": 161,
"g": 21,
"b": 124
},
"hsl": {
"h": 315.857,
"s": 76.923,
"l": 35.686
},
"oklch": {
"l": 0.48348,
"c": 0.19516,
"h": 342.3
},
"luminance": 0.09569
}Semantic roles & 50–950 ramp
primary
#A1157C
secondary
#49C86B
accent
#F36734
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F