#A12A4E#A12A4E
#A12A4E is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.1% C 0.156 H 7.3°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #A12A4E |
|---|---|
| RGB | rgb(161, 42, 78) |
| HSL | hsl(342, 59%, 40%) |
| HSV | hsv(342, 74%, 63%) |
| CMYK | cmyk(0%, 73.9%, 51.6%, 36.9%) |
| CIE-LAB | lab(37.45, 50.77, 7.69) |
| CIE-LCH | lch(37.45, 51.34, 8.61°) |
| OKLab | oklab(48.09% 0.1547 0.0199) |
| OKLCH | oklch(48.09% 0.156 7.3) |
| XYZ | xyz(16.9025, 9.7854, 8.2050) |
| Luminance | 0.0978 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.40
Raspberry (survey)
#B00149
ΔE00 3.59
Berry
#990F4B
ΔE00 4.48
Light Burgundy
#A8415B
ΔE00 4.89
Purple Red
#990147
ΔE00 4.90
Cranberry
#9E003A
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12A4E #2AA17D
analogous
#A12A89 #A12A4E #A1422A
triadic
#A12A4E #4EA12A #2A4EA1
tetradic
#A12A4E #89A12A #2AA17D #422AA1
square
#A12A4E #89A12A #2AA17D #422AA1
split-complementary
#A12A4E #2AA142 #2A89A1
monochromatic
#40111F #701D36 #A12A4E #CC3C68 #D96D8D
Accessibility & contrast
On white
7.10
#A12A4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#A12A4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A12A4E
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12A4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12A4E | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#47494F
Deuteranopia (green-blind)
#66614B
Tritanopia (blue-blind)
#B00F39
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a12a4e; /* rgb */ color: rgb(161, 42, 78); /* oklch */ color: oklch(48.1% 0.156 7.3);
Tailwind
colors: {
custom: {
50: '#c26e7f',
500: '#a12a4e',
950: '#000000',
},
}SCSS
$custom: #a12a4e; $custom-light: #c26e7f; $custom-dark: #000000;
JSON
{
"hex": "#a12a4e",
"rgb": {
"r": 161,
"g": 42,
"b": 78
},
"hsl": {
"h": 341.849,
"s": 58.621,
"l": 39.804
},
"oklch": {
"l": 0.48093,
"c": 0.15597,
"h": 7.3
},
"luminance": 0.09783
}Semantic roles & 50–950 ramp
primary
#A12A4E
secondary
#67C0A5
accent
#E2B346
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#13080A
muted
#827B7C