#A2285A#A2285A
#A2285A is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.4% C 0.162 H 0.6°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #A2285A |
|---|---|
| RGB | rgb(162, 40, 90) |
| HSL | hsl(335, 60%, 40%) |
| HSV | hsv(335, 75%, 64%) |
| CMYK | cmyk(0%, 75.3%, 44.4%, 36.5%) |
| CIE-LAB | lab(37.73, 52.87, 0.44) |
| CIE-LCH | lch(37.73, 52.87, 0.48°) |
| OKLab | oklab(48.45% 0.1622 0.0017) |
| OKLCH | oklch(48.45% 0.162 0.6) |
| XYZ | xyz(17.5059, 9.9394, 10.6675) |
| Luminance | 0.0994 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.13
Berry
#990F4B
ΔE00 4.09
Dark Fuchsia
#9D0759
ΔE00 4.15
Deep Magenta
#A0025C
ΔE00 4.34
Purple Red
#990147
ΔE00 5.03
Purplish Red
#B0054B
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2285A #28A270
analogous
#A22897 #A2285A #A23328
triadic
#A2285A #5AA228 #285AA2
tetradic
#A2285A #97A228 #28A270 #3328A2
square
#A2285A #97A228 #28A270 #3328A2
split-complementary
#A2285A #28A233 #2897A2
monochromatic
#401023 #711C3F #A2285A #CE3976 #DA6A98
Accessibility & contrast
On white
7.03
#A2285A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#A2285A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A2285A
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2285A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A2285A | 1.00 | 7.03 | 2.99 | 7.03 |
| #FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434A5B
Deuteranopia (green-blind)
#646157
Tritanopia (blue-blind)
#B0133E
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #a2285a; /* rgb */ color: rgb(162, 40, 90); /* oklch */ color: oklch(48.4% 0.162 0.6);
Tailwind
colors: {
custom: {
50: '#c36d88',
500: '#a2285a',
950: '#000000',
},
}SCSS
$custom: #a2285a; $custom-light: #c36d88; $custom-dark: #000000;
JSON
{
"hex": "#a2285a",
"rgb": {
"r": 162,
"g": 40,
"b": 90
},
"hsl": {
"h": 335.41,
"s": 60.396,
"l": 39.608
},
"oklch": {
"l": 0.48445,
"c": 0.16224,
"h": 0.6
},
"luminance": 0.09937
}Semantic roles & 50–950 ramp
primary
#A2285A
secondary
#65C19B
accent
#E4A244
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13080B
muted
#827B7C