#A12A5A#A12A5A
#A12A5A is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.5% C 0.159 H 0.7°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #A12A5A |
|---|---|
| RGB | rgb(161, 42, 90) |
| HSL | hsl(336, 59%, 40%) |
| HSV | hsv(336, 74%, 63%) |
| CMYK | cmyk(0%, 73.9%, 44.1%, 36.9%) |
| CIE-LAB | lab(37.79, 51.88, 0.51) |
| CIE-LCH | lch(37.79, 51.89, 0.56°) |
| OKLab | oklab(48.46% 0.1591 0.0019) |
| OKLCH | oklch(48.46% 0.159 0.7) |
| XYZ | xyz(17.3727, 9.9734, 10.6811) |
| Luminance | 0.0997 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.40
Berry
#990F4B
ΔE00 4.19
Dark Fuchsia
#9D0759
ΔE00 4.33
Deep Magenta
#A0025C
ΔE00 4.54
Purple Red
#990147
ΔE00 5.15
Mulberry
#920A4E
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12A5A #2AA171
analogous
#A12A96 #A12A5A #A1352A
triadic
#A12A5A #5AA12A #2A5AA1
tetradic
#A12A5A #96A12A #2AA171 #352AA1
square
#A12A5A #96A12A #2AA171 #352AA1
split-complementary
#A12A5A #2AA135 #2A96A1
monochromatic
#401124 #701D3F #A12A5A #CC3C76 #D96D98
Accessibility & contrast
On white
7.01
#A12A5A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#A12A5A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A12A5A
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12A5A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12A5A | 1.00 | 7.01 | 2.99 | 7.01 |
| #FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444A5B
Deuteranopia (green-blind)
#646157
Tritanopia (blue-blind)
#AF173E
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #a12a5a; /* rgb */ color: rgb(161, 42, 90); /* oklch */ color: oklch(48.5% 0.159 0.7);
Tailwind
colors: {
custom: {
50: '#c26e88',
500: '#a12a5a',
950: '#000000',
},
}SCSS
$custom: #a12a5a; $custom-light: #c26e88; $custom-dark: #000000;
JSON
{
"hex": "#a12a5a",
"rgb": {
"r": 161,
"g": 42,
"b": 90
},
"hsl": {
"h": 335.798,
"s": 58.621,
"l": 39.804
},
"oklch": {
"l": 0.48455,
"c": 0.15913,
"h": 0.7
},
"luminance": 0.09971
}Semantic roles & 50–950 ramp
primary
#A12A5A
secondary
#67C09C
accent
#E2A346
background
#FCF7F8
surface
#F8EDEF
border
#D1C8CA
text
#13080B
muted
#827B7C