#A12956#A12956
#A12956 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.2% C 0.159 H 2.7°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A12956 |
|---|---|
| RGB | rgb(161, 41, 86) |
| HSL | hsl(338, 59%, 40%) |
| HSV | hsv(338, 75%, 63%) |
| CMYK | cmyk(0%, 74.5%, 46.6%, 36.9%) |
| CIE-LAB | lab(37.55, 51.85, 2.71) |
| CIE-LCH | lch(37.55, 51.92, 2.99°) |
| OKLab | oklab(48.24% 0.1588 0.0075) |
| OKLCH | oklch(48.24% 0.159 2.7) |
| XYZ | xyz(17.1720, 9.8371, 9.7968) |
| Luminance | 0.0984 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.51
Berry
#990F4B
ΔE00 3.78
Purplish Red
#B0054B
ΔE00 4.44
Purple Red
#990147
ΔE00 4.63
Raspberry (survey)
#B00149
ΔE00 4.83
Dark Fuchsia
#9D0759
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12956 #29A174
analogous
#A12992 #A12956 #A13829
triadic
#A12956 #56A129 #2956A1
tetradic
#A12956 #92A129 #29A174 #3829A1
square
#A12956 #92A129 #29A174 #3829A1
split-complementary
#A12956 #29A138 #2992A1
monochromatic
#3F1022 #701D3C #A12956 #CD3A71 #D96B94
Accessibility & contrast
On white
7.08
#A12956 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#A12956 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A12956
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12956 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12956 | 1.00 | 7.08 | 2.97 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444957
Deuteranopia (green-blind)
#656153
Tritanopia (blue-blind)
#AF133C
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a12956; /* rgb */ color: rgb(161, 41, 86); /* oklch */ color: oklch(48.2% 0.159 2.7);
Tailwind
colors: {
custom: {
50: '#c26d85',
500: '#a12956',
950: '#000000',
},
}SCSS
$custom: #a12956; $custom-light: #c26d85; $custom-dark: #000000;
JSON
{
"hex": "#a12956",
"rgb": {
"r": 161,
"g": 41,
"b": 86
},
"hsl": {
"h": 337.5,
"s": 59.406,
"l": 39.608
},
"oklch": {
"l": 0.48235,
"c": 0.15901,
"h": 2.7
},
"luminance": 0.09835
}Semantic roles & 50–950 ramp
primary
#A12956
secondary
#66C09E
accent
#E3A845
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13080B
muted
#827B7C