#A12C4E#A12C4E
#A12C4E is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.3% C 0.154 H 7.8°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #A12C4E |
|---|---|
| RGB | rgb(161, 44, 78) |
| HSL | hsl(343, 57%, 40%) |
| HSV | hsv(343, 73%, 63%) |
| CMYK | cmyk(0%, 72.7%, 51.6%, 36.9%) |
| CIE-LAB | lab(37.72, 50.03, 8.06) |
| CIE-LCH | lch(37.72, 50.68, 9.15°) |
| OKLab | oklab(48.29% 0.1523 0.0208) |
| OKLCH | oklch(48.29% 0.154 7.8) |
| XYZ | xyz(16.9752, 9.9308, 8.2292) |
| Luminance | 0.0993 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.58
Raspberry (survey)
#B00149
ΔE00 3.75
Light Burgundy
#A8415B
ΔE00 4.61
Berry
#990F4B
ΔE00 4.85
Cranberry
#9E003A
ΔE00 5.24
Purple Red
#990147
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12C4E #2CA17F
analogous
#A12C88 #A12C4E #A1442C
triadic
#A12C4E #4EA12C #2C4EA1
tetradic
#A12C4E #88A12C #2CA17F #442CA1
square
#A12C4E #88A12C #2CA17F #442CA1
split-complementary
#A12C4E #2CA144 #2C88A1
monochromatic
#41121F #711F37 #A12C4E #CB4068 #D8708E
Accessibility & contrast
On white
7.03
#A12C4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#A12C4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A12C4E
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12C4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12C4E | 1.00 | 7.03 | 2.99 | 7.03 |
| #FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484A4F
Deuteranopia (green-blind)
#67614B
Tritanopia (blue-blind)
#B0133A
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #a12c4e; /* rgb */ color: rgb(161, 44, 78); /* oklch */ color: oklch(48.3% 0.154 7.8);
Tailwind
colors: {
custom: {
50: '#c26f7f',
500: '#a12c4e',
950: '#000000',
},
}SCSS
$custom: #a12c4e; $custom-light: #c26f7f; $custom-dark: #000000;
JSON
{
"hex": "#a12c4e",
"rgb": {
"r": 161,
"g": 44,
"b": 78
},
"hsl": {
"h": 342.564,
"s": 57.073,
"l": 40.196
},
"oklch": {
"l": 0.48288,
"c": 0.15376,
"h": 7.8
},
"luminance": 0.09928
}Semantic roles & 50–950 ramp
primary
#A12C4E
secondary
#6ABFA6
accent
#E0B447
background
#FCF7F7
surface
#F9EDEE
border
#D2C8C9
text
#13080A
muted
#827B7C