#A12951#A12951
#A12951 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.1% C 0.158 H 5.5°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #A12951 |
|---|---|
| RGB | rgb(161, 41, 81) |
| HSL | hsl(340, 59%, 40%) |
| HSV | hsv(340, 75%, 63%) |
| CMYK | cmyk(0%, 74.5%, 49.7%, 36.9%) |
| CIE-LAB | lab(37.41, 51.39, 5.70) |
| CIE-LCH | lch(37.41, 51.70, 6.33°) |
| OKLab | oklab(48.08% 0.157 0.015) |
| OKLCH | oklch(48.08% 0.158 5.5) |
| XYZ | xyz(16.9775, 9.7593, 8.7727) |
| Luminance | 0.0976 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.58
Raspberry (survey)
#B00149
ΔE00 3.88
Berry
#990F4B
ΔE00 3.92
Violet Red
#A50055
ΔE00 4.36
Purple Red
#990147
ΔE00 4.53
Light Burgundy
#A8415B
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12951 #29A179
analogous
#A1298D #A12951 #A13D29
triadic
#A12951 #51A129 #2951A1
tetradic
#A12951 #8DA129 #29A179 #3D29A1
square
#A12951 #8DA129 #29A179 #3D29A1
split-complementary
#A12951 #29A13D #298DA1
monochromatic
#3F1020 #701D38 #A12951 #CD3A6B #D96B90
Accessibility & contrast
On white
7.12
#A12951 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#A12951 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A12951
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12951 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12951 | 1.00 | 7.12 | 2.95 | 7.12 |
| #FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464952
Deuteranopia (green-blind)
#65614E
Tritanopia (blue-blind)
#AF0F3A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a12951; /* rgb */ color: rgb(161, 41, 81); /* oklch */ color: oklch(48.1% 0.158 5.5);
Tailwind
colors: {
custom: {
50: '#c26d81',
500: '#a12951',
950: '#000000',
},
}SCSS
$custom: #a12951; $custom-light: #c26d81; $custom-dark: #000000;
JSON
{
"hex": "#a12951",
"rgb": {
"r": 161,
"g": 41,
"b": 81
},
"hsl": {
"h": 340,
"s": 59.406,
"l": 39.608
},
"oklch": {
"l": 0.48084,
"c": 0.15771,
"h": 5.5
},
"luminance": 0.09757
}Semantic roles & 50–950 ramp
primary
#A12951
secondary
#66C0A2
accent
#E3AE45
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#13080A
muted
#827B7C