#A1157A#A1157A
#A1157A is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.3% C 0.194 H 343.1°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #A1157A |
|---|---|
| RGB | rgb(161, 21, 122) |
| HSL | hsl(317, 77%, 36%) |
| HSV | hsv(317, 87%, 63%) |
| CMYK | cmyk(0%, 87%, 24.2%, 36.9%) |
| CIE-LAB | lab(36.97, 61.35, -20.97) |
| CIE-LCH | lch(36.97, 64.84, 341.13°) |
| OKLab | oklab(48.25% 0.1856 -0.0562) |
| OKLCH | oklch(48.25% 0.194 343.1) |
| XYZ | xyz(18.4797, 9.5206, 19.2731) |
| Luminance | 0.0952 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.73
Warm Purple
#952E8F
ΔE00 5.70
Barney Purple
#A00498
ΔE00 6.28
Deep Magenta
#A0025C
ΔE00 6.71
Magenta (survey)
#C20078
ΔE00 7.12
Dark Fuchsia
#9D0759
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1157A #15A13C
analogous
#8215A1 #A1157A #A11534
triadic
#A1157A #7AA115 #157AA1
tetradic
#A1157A #A18215 #15A13C #1534A1
square
#A1157A #A18215 #15A13C #1534A1
split-complementary
#A1157A #34A115 #15A182
monochromatic
#350728 #6B0E51 #A1157A #D71CA3 #E749BB
Accessibility & contrast
On white
7.23
#A1157A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#A1157A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A1157A
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1157A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A1157A | 1.00 | 7.23 | 2.90 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29497C
Deuteranopia (green-blind)
#565F77
Tritanopia (blue-blind)
#AC1649
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #a1157a; /* rgb */ color: rgb(161, 21, 122); /* oklch */ color: oklch(48.3% 0.194 343.1);
Tailwind
colors: {
custom: {
50: '#c168a0',
500: '#a1157a',
950: '#000000',
},
}SCSS
$custom: #a1157a; $custom-light: #c168a0; $custom-dark: #000000;
JSON
{
"hex": "#a1157a",
"rgb": {
"r": 161,
"g": 21,
"b": 122
},
"hsl": {
"h": 316.714,
"s": 76.923,
"l": 35.686
},
"oklch": {
"l": 0.48252,
"c": 0.19397,
"h": 343.1
},
"luminance": 0.09519
}Semantic roles & 50–950 ramp
primary
#A1157A
secondary
#49C86D
accent
#F36A34
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E