#A12C5B#A12C5B
#A12C5B is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.7% C 0.157 H 0.5°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #A12C5B |
|---|---|
| RGB | rgb(161, 44, 91) |
| HSL | hsl(336, 57%, 40%) |
| HSV | hsv(336, 73%, 63%) |
| CMYK | cmyk(0%, 72.7%, 43.5%, 36.9%) |
| CIE-LAB | lab(38.09, 51.26, 0.30) |
| CIE-LCH | lch(38.09, 51.26, 0.33°) |
| OKLab | oklab(48.68% 0.1572 0.0014) |
| OKLCH | oklch(48.68% 0.157 0.5) |
| XYZ | xyz(17.4882, 10.1360, 10.9310) |
| Luminance | 0.1013 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.69
Berry
#990F4B
ΔE00 4.50
Dark Fuchsia
#9D0759
ΔE00 4.55
Deep Magenta
#A0025C
ΔE00 4.73
Purple Red
#990147
ΔE00 5.46
Purplish Red
#B0054B
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12C5B #2CA172
analogous
#A12C96 #A12C5B #A1372C
triadic
#A12C5B #5BA12C #2C5BA1
tetradic
#A12C5B #96A12C #2CA172 #372CA1
square
#A12C5B #96A12C #2CA172 #372CA1
split-complementary
#A12C5B #2CA137 #2C96A1
monochromatic
#411225 #711F40 #A12C5B #CB4077 #D87099
Accessibility & contrast
On white
6.94
#A12C5B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#A12C5B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A12C5B
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12C5B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12C5B | 1.00 | 6.94 | 3.03 | 6.94 |
| #FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454B5C
Deuteranopia (green-blind)
#646258
Tritanopia (blue-blind)
#AF1B40
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #a12c5b; /* rgb */ color: rgb(161, 44, 91); /* oklch */ color: oklch(48.7% 0.157 0.5);
Tailwind
colors: {
custom: {
50: '#c26f89',
500: '#a12c5b',
950: '#000000',
},
}SCSS
$custom: #a12c5b; $custom-light: #c26f89; $custom-dark: #000000;
JSON
{
"hex": "#a12c5b",
"rgb": {
"r": 161,
"g": 44,
"b": 91
},
"hsl": {
"h": 335.897,
"s": 57.073,
"l": 40.196
},
"oklch": {
"l": 0.4868,
"c": 0.15716,
"h": 0.5
},
"luminance": 0.10134
}Semantic roles & 50–950 ramp
primary
#A12C5B
secondary
#6ABF9D
accent
#E0A347
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080B
muted
#827B7C