#A12A4F#A12A4F
#A12A4F is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.1% C 0.156 H 6.8°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #A12A4F |
|---|---|
| RGB | rgb(161, 42, 79) |
| HSL | hsl(341, 59%, 40%) |
| HSV | hsv(341, 74%, 63%) |
| CMYK | cmyk(0%, 73.9%, 50.9%, 36.9%) |
| CIE-LAB | lab(37.48, 50.85, 7.08) |
| CIE-LCH | lch(37.48, 51.34, 7.93°) |
| OKLab | oklab(48.12% 0.1551 0.0184) |
| OKLCH | oklch(48.12% 0.156 6.8) |
| XYZ | xyz(16.9387, 9.7998, 8.3952) |
| Luminance | 0.0980 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.45
Raspberry (survey)
#B00149
ΔE00 3.67
Berry
#990F4B
ΔE00 4.33
Purple Red
#990147
ΔE00 4.81
Light Burgundy
#A8415B
ΔE00 4.89
Violet Red
#A50055
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12A4F #2AA17C
analogous
#A12A8A #A12A4F #A1412A
triadic
#A12A4F #4FA12A #2A4FA1
tetradic
#A12A4F #8AA12A #2AA17C #412AA1
square
#A12A4F #8AA12A #2AA17C #412AA1
split-complementary
#A12A4F #2AA141 #2A8AA1
monochromatic
#40111F #701D37 #A12A4F #CC3C69 #D96D8E
Accessibility & contrast
On white
7.10
#A12A4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#A12A4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A12A4F
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12A4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12A4F | 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)
#474950
Deuteranopia (green-blind)
#66614C
Tritanopia (blue-blind)
#B01039
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a12a4f; /* rgb */ color: rgb(161, 42, 79); /* oklch */ color: oklch(48.1% 0.156 6.8);
Tailwind
colors: {
custom: {
50: '#c26e80',
500: '#a12a4f',
950: '#000000',
},
}SCSS
$custom: #a12a4f; $custom-light: #c26e80; $custom-dark: #000000;
JSON
{
"hex": "#a12a4f",
"rgb": {
"r": 161,
"g": 42,
"b": 79
},
"hsl": {
"h": 341.345,
"s": 58.621,
"l": 39.804
},
"oklch": {
"l": 0.48121,
"c": 0.15617,
"h": 6.8
},
"luminance": 0.09798
}Semantic roles & 50–950 ramp
primary
#A12A4F
secondary
#67C0A4
accent
#E2B146
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#13080A
muted
#827B7C