#A1187C#A1187C
#A1187C is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.5% C 0.193 H 342.4°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #A1187C |
|---|---|
| RGB | rgb(161, 24, 124) |
| HSL | hsl(316, 74%, 36%) |
| HSV | hsv(316, 85%, 63%) |
| CMYK | cmyk(0%, 85.1%, 23%, 36.9%) |
| CIE-LAB | lab(37.28, 60.98, -21.74) |
| CIE-LCH | lch(37.28, 64.74, 340.38°) |
| OKLab | oklab(48.5% 0.184 -0.0584) |
| OKLCH | oklch(48.5% 0.193 342.4) |
| XYZ | xyz(18.6634, 9.6876, 19.9519) |
| Luminance | 0.0969 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.16
Warm Purple
#952E8F
ΔE00 5.30
Barney Purple
#A00498
ΔE00 5.97
Deep Magenta
#A0025C
ΔE00 7.11
Magenta (survey)
#C20078
ΔE00 7.21
Darkmagenta
#8B008B
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1187C #18A13D
analogous
#8218A1 #A1187C #A11838
triadic
#A1187C #7CA118 #187CA1
tetradic
#A1187C #A18218 #18A13D #1838A1
square
#A1187C #A18218 #18A13D #1838A1
split-complementary
#A1187C #38A118 #18A182
monochromatic
#36082A #6C1053 #A1187C #D620A5 #E54FBC
Accessibility & contrast
On white
7.15
#A1187C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#A1187C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A1187C
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1187C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A1187C | 1.00 | 7.15 | 2.94 | 7.15 |
| #FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#294A7E
Deuteranopia (green-blind)
#565F79
Tritanopia (blue-blind)
#AC1A4A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a1187c; /* rgb */ color: rgb(161, 24, 124); /* oklch */ color: oklch(48.5% 0.193 342.4);
Tailwind
colors: {
custom: {
50: '#c169a2',
500: '#a1187c',
950: '#000000',
},
}SCSS
$custom: #a1187c; $custom-light: #c169a2; $custom-dark: #000000;
JSON
{
"hex": "#a1187c",
"rgb": {
"r": 161,
"g": 24,
"b": 124
},
"hsl": {
"h": 316.204,
"s": 74.054,
"l": 36.275
},
"oklch": {
"l": 0.48503,
"c": 0.19305,
"h": 342.4
},
"luminance": 0.09686
}Semantic roles & 50–950 ramp
primary
#A1187C
secondary
#4EC76F
accent
#F16937
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F