#A2266A#A2266A
#A2266A is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.8% C 0.171 H 352.0°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #A2266A |
|---|---|
| RGB | rgb(162, 38, 106) |
| HSL | hsl(327, 62%, 39%) |
| HSV | hsv(327, 77%, 64%) |
| CMYK | cmyk(0%, 76.5%, 34.6%, 36.5%) |
| CIE-LAB | lab(38.04, 55.24, -9.26) |
| CIE-LCH | lch(38.04, 56.01, 350.49°) |
| OKLab | oklab(48.85% 0.1693 -0.0239) |
| OKLCH | oklch(48.85% 0.171 352) |
| XYZ | xyz(18.1960, 10.1104, 14.6262) |
| Luminance | 0.1011 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.66
Deep Magenta
#A0025C
ΔE00 3.74
Dark Fuchsia
#9D0759
ΔE00 4.16
Dark Magenta
#960056
ΔE00 5.23
Violet Red
#A50055
ΔE00 5.24
Magenta (survey)
#C20078
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2266A #26A25E
analogous
#9C26A2 #A2266A #A2262C
triadic
#A2266A #6AA226 #266AA2
tetradic
#A2266A #A29C26 #26A25E #262CA2
square
#A2266A #A29C26 #26A25E #262CA2
split-complementary
#A2266A #2CA226 #26A29C
monochromatic
#3F0F29 #701A4A #A2266A #D0358A #DB67A7
Accessibility & contrast
On white
6.95
#A2266A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#A2266A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A2266A
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2266A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A2266A | 1.00 | 6.95 | 3.02 | 6.95 |
| #FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C4B6C
Deuteranopia (green-blind)
#606267
Tritanopia (blue-blind)
#AF1B45
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #a2266a; /* rgb */ color: rgb(162, 38, 106); /* oklch */ color: oklch(48.8% 0.171 352.0);
Tailwind
colors: {
custom: {
50: '#c26d94',
500: '#a2266a',
950: '#000000',
},
}SCSS
$custom: #a2266a; $custom-light: #c26d94; $custom-dark: #000000;
JSON
{
"hex": "#a2266a",
"rgb": {
"r": 162,
"g": 38,
"b": 106
},
"hsl": {
"h": 327.097,
"s": 62,
"l": 39.216
},
"oklch": {
"l": 0.48847,
"c": 0.17099,
"h": 352
},
"luminance": 0.10108
}Semantic roles & 50–950 ramp
primary
#A2266A
secondary
#63C18D
accent
#E58C43
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13080D
muted
#827A7E