#A12A5E#A12A5E
#A12A5E is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.6% C 0.161 H 358.5°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #A12A5E |
|---|---|
| RGB | rgb(161, 42, 94) |
| HSL | hsl(334, 59%, 40%) |
| HSV | hsv(334, 74%, 63%) |
| CMYK | cmyk(0%, 73.9%, 41.6%, 36.9%) |
| CIE-LAB | lab(37.92, 52.29, -1.85) |
| CIE-LCH | lch(37.92, 52.32, 357.97°) |
| OKLab | oklab(48.59% 0.1605 -0.0042) |
| OKLCH | oklch(48.59% 0.161 358.5) |
| XYZ | xyz(17.5475, 10.0434, 11.6020) |
| Luminance | 0.1004 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.51
Dark Fuchsia
#9D0759
ΔE00 3.89
Deep Magenta
#A0025C
ΔE00 3.96
Berry
#990F4B
ΔE00 4.75
Dark Magenta
#960056
ΔE00 5.26
Mulberry
#920A4E
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12A5E #2AA16D
analogous
#A12A99 #A12A5E #A1322A
triadic
#A12A5E #5EA12A #2A5EA1
tetradic
#A12A5E #99A12A #2AA16D #322AA1
square
#A12A5E #99A12A #2AA16D #322AA1
split-complementary
#A12A5E #2AA132 #2A99A1
monochromatic
#401125 #701D42 #A12A5E #CC3C7B #D96D9C
Accessibility & contrast
On white
6.98
#A12A5E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#A12A5E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A12A5E
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12A5E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12A5E | 1.00 | 6.98 | 3.01 | 6.98 |
| #FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434B5F
Deuteranopia (green-blind)
#63615B
Tritanopia (blue-blind)
#AE1A40
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #a12a5e; /* rgb */ color: rgb(161, 42, 94); /* oklch */ color: oklch(48.6% 0.161 358.5);
Tailwind
colors: {
custom: {
50: '#c26e8b',
500: '#a12a5e',
950: '#000000',
},
}SCSS
$custom: #a12a5e; $custom-light: #c26e8b; $custom-dark: #000000;
JSON
{
"hex": "#a12a5e",
"rgb": {
"r": 161,
"g": 42,
"b": 94
},
"hsl": {
"h": 333.782,
"s": 58.621,
"l": 39.804
},
"oklch": {
"l": 0.48589,
"c": 0.16054,
"h": 358.5
},
"luminance": 0.10041
}Semantic roles & 50–950 ramp
primary
#A12A5E
secondary
#67C099
accent
#E29E46
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D