#A12C62#A12C62
#A12C62 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 48.9% C 0.160 H 356.6°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #A12C62 |
|---|---|
| RGB | rgb(161, 44, 98) |
| HSL | hsl(332, 57%, 40%) |
| HSV | hsv(332, 73%, 63%) |
| CMYK | cmyk(0%, 72.7%, 39.1%, 36.9%) |
| CIE-LAB | lab(38.31, 52.00, -3.81) |
| CIE-LCH | lch(38.31, 52.14, 355.80°) |
| OKLab | oklab(48.92% 0.1595 -0.0094) |
| OKLCH | oklch(48.92% 0.16 356.6) |
| XYZ | xyz(17.8044, 10.2624, 12.5962) |
| Luminance | 0.1026 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Magenta
#A0025C
ΔE00 4.01
Dark Fuchsia
#9D0759
ΔE00 4.07
Violet Red
#A50055
ΔE00 4.15
Dark Magenta
#960056
ΔE00 5.40
Berry
#990F4B
ΔE00 5.58
Red Violet
#9E0168
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12C62 #2CA16B
analogous
#A12C9C #A12C62 #A1312C
triadic
#A12C62 #62A12C #2C62A1
tetradic
#A12C62 #9CA12C #2CA16B #312CA1
square
#A12C62 #9CA12C #2CA16B #312CA1
split-complementary
#A12C62 #2CA131 #2C9CA1
monochromatic
#411227 #711F45 #A12C62 #CB4080 #D870A0
Accessibility & contrast
On white
6.88
#A12C62 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#A12C62 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A12C62
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12C62 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12C62 | 1.00 | 6.88 | 3.05 | 6.88 |
| #FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434C63
Deuteranopia (green-blind)
#63625F
Tritanopia (blue-blind)
#AE1F43
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #a12c62; /* rgb */ color: rgb(161, 44, 98); /* oklch */ color: oklch(48.9% 0.160 356.6);
Tailwind
colors: {
custom: {
50: '#c16f8e',
500: '#a12c62',
950: '#000000',
},
}SCSS
$custom: #a12c62; $custom-light: #c16f8e; $custom-dark: #000000;
JSON
{
"hex": "#a12c62",
"rgb": {
"r": 161,
"g": 44,
"b": 98
},
"hsl": {
"h": 332.308,
"s": 57.073,
"l": 40.196
},
"oklch": {
"l": 0.48918,
"c": 0.15977,
"h": 356.6
},
"luminance": 0.1026
}Semantic roles & 50–950 ramp
primary
#A12C62
secondary
#6ABF98
accent
#E09A47
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D