#A1157D#A1157D
#A1157D is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.4% C 0.196 H 341.9°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #A1157D |
|---|---|
| RGB | rgb(161, 21, 125) |
| HSL | hsl(315, 77%, 36%) |
| HSV | hsv(315, 87%, 63%) |
| CMYK | cmyk(0%, 87%, 22.4%, 36.9%) |
| CIE-LAB | lab(37.11, 61.73, -22.63) |
| CIE-LCH | lch(37.11, 65.75, 339.87°) |
| OKLab | oklab(48.4% 0.186 -0.0609) |
| OKLCH | oklch(48.4% 0.196 341.9) |
| XYZ | xyz(18.6685, 9.5961, 20.2672) |
| Luminance | 0.0959 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.33
Warm Purple
#952E8F
ΔE00 5.15
Barney Purple
#A00498
ΔE00 5.65
Darkmagenta
#8B008B
ΔE00 7.19
Deep Magenta
#A0025C
ΔE00 7.35
Magenta (survey)
#C20078
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1157D #15A139
analogous
#7F15A1 #A1157D #A11537
triadic
#A1157D #7DA115 #157DA1
tetradic
#A1157D #A17F15 #15A139 #1537A1
square
#A1157D #A17F15 #15A139 #1537A1
split-complementary
#A1157D #37A115 #15A17F
monochromatic
#350729 #6B0E53 #A1157D #D71CA7 #E749BF
Accessibility & contrast
On white
7.19
#A1157D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#A1157D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A1157D
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1157D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A1157D | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27497F
Deuteranopia (green-blind)
#555F7A
Tritanopia (blue-blind)
#AC184A
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #a1157d; /* rgb */ color: rgb(161, 21, 125); /* oklch */ color: oklch(48.4% 0.196 341.9);
Tailwind
colors: {
custom: {
50: '#c168a3',
500: '#a1157d',
950: '#000000',
},
}SCSS
$custom: #a1157d; $custom-light: #c168a3; $custom-dark: #000000;
JSON
{
"hex": "#a1157d",
"rgb": {
"r": 161,
"g": 21,
"b": 125
},
"hsl": {
"h": 315.429,
"s": 76.923,
"l": 35.686
},
"oklch": {
"l": 0.48397,
"c": 0.19576,
"h": 341.9
},
"luminance": 0.09594
}Semantic roles & 50–950 ramp
primary
#A1157D
secondary
#49C86A
accent
#F36534
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F