#A12A58#A12A58
#A12A58 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.4% C 0.158 H 1.8°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #A12A58 |
|---|---|
| RGB | rgb(161, 42, 88) |
| HSL | hsl(337, 59%, 40%) |
| HSV | hsv(337, 74%, 63%) |
| CMYK | cmyk(0%, 73.9%, 45.3%, 36.9%) |
| CIE-LAB | lab(37.73, 51.69, 1.70) |
| CIE-LCH | lch(37.73, 51.71, 1.88°) |
| OKLab | oklab(48.39% 0.1584 0.005) |
| OKLCH | oklch(48.39% 0.158 1.8) |
| XYZ | xyz(17.2887, 9.9398, 10.2388) |
| Luminance | 0.0994 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.49
Berry
#990F4B
ΔE00 4.01
Dark Fuchsia
#9D0759
ΔE00 4.66
Purplish Red
#B0054B
ΔE00 4.85
Purple Red
#990147
ΔE00 4.92
Deep Magenta
#A0025C
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12A58 #2AA173
analogous
#A12A93 #A12A58 #A1382A
triadic
#A12A58 #58A12A #2A58A1
tetradic
#A12A58 #93A12A #2AA173 #382AA1
square
#A12A58 #93A12A #2AA173 #382AA1
split-complementary
#A12A58 #2AA138 #2A93A1
monochromatic
#401123 #701D3D #A12A58 #CC3C74 #D96D96
Accessibility & contrast
On white
7.03
#A12A58 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#A12A58 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A12A58
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12A58 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12A58 | 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)
#444A59
Deuteranopia (green-blind)
#646155
Tritanopia (blue-blind)
#AF163D
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #a12a58; /* rgb */ color: rgb(161, 42, 88); /* oklch */ color: oklch(48.4% 0.158 1.8);
Tailwind
colors: {
custom: {
50: '#c26e87',
500: '#a12a58',
950: '#000000',
},
}SCSS
$custom: #a12a58; $custom-light: #c26e87; $custom-dark: #000000;
JSON
{
"hex": "#a12a58",
"rgb": {
"r": 161,
"g": 42,
"b": 88
},
"hsl": {
"h": 336.807,
"s": 58.621,
"l": 39.804
},
"oklch": {
"l": 0.48391,
"c": 0.15849,
"h": 1.8
},
"luminance": 0.09938
}Semantic roles & 50–950 ramp
primary
#A12A58
secondary
#67C09D
accent
#E2A646
background
#FCF7F8
surface
#F8EDEF
border
#D1C8CA
text
#13080B
muted
#827B7C