#A2256C#A2256C
#A2256C is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.8% C 0.173 H 350.9°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #A2256C |
|---|---|
| RGB | rgb(162, 37, 108) |
| HSL | hsl(326, 63%, 39%) |
| HSV | hsv(326, 77%, 64%) |
| CMYK | cmyk(0%, 77.2%, 33.3%, 36.5%) |
| CIE-LAB | lab(38.00, 55.79, -10.57) |
| CIE-LCH | lch(38.00, 56.78, 349.27°) |
| OKLab | oklab(48.84% 0.1708 -0.0275) |
| OKLCH | oklch(48.84% 0.173 350.9) |
| XYZ | xyz(18.2697, 10.0894, 15.1698) |
| Luminance | 0.1009 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.37
Deep Magenta
#A0025C
ΔE00 3.97
Dark Fuchsia
#9D0759
ΔE00 4.44
Dark Magenta
#960056
ΔE00 5.40
Magenta (survey)
#C20078
ΔE00 5.61
Violet Red
#A50055
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2256C #25A25B
analogous
#9A25A2 #A2256C #A2252E
triadic
#A2256C #6CA225 #256CA2
tetradic
#A2256C #A29A25 #25A25B #252EA2
square
#A2256C #A29A25 #25A25B #252EA2
split-complementary
#A2256C #2EA225 #25A29A
monochromatic
#3E0E2A #701A4B #A2256C #D1348D #DC65A9
Accessibility & contrast
On white
6.96
#A2256C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#A2256C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A2256C
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2256C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A2256C | 1.00 | 6.96 | 3.02 | 6.96 |
| #FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B4B6E
Deuteranopia (green-blind)
#5F6169
Tritanopia (blue-blind)
#AE1B45
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #a2256c; /* rgb */ color: rgb(162, 37, 108); /* oklch */ color: oklch(48.8% 0.173 350.9);
Tailwind
colors: {
custom: {
50: '#c26d96',
500: '#a2256c',
950: '#000000',
},
}SCSS
$custom: #a2256c; $custom-light: #c26d96; $custom-dark: #000000;
JSON
{
"hex": "#a2256c",
"rgb": {
"r": 162,
"g": 37,
"b": 108
},
"hsl": {
"h": 325.92,
"s": 62.814,
"l": 39.02
},
"oklch": {
"l": 0.48844,
"c": 0.17303,
"h": 350.9
},
"luminance": 0.10087
}Semantic roles & 50–950 ramp
primary
#A2256C
secondary
#61C28B
accent
#E68942
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13080D
muted
#827A7E