#A6288E#A6288E
#A6288E is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.3% C 0.193 H 337.0°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #A6288E |
|---|---|
| RGB | rgb(166, 40, 142) |
| HSL | hsl(311, 61%, 40%) |
| HSV | hsv(311, 76%, 65%) |
| CMYK | cmyk(0%, 75.9%, 14.5%, 34.9%) |
| CIE-LAB | lab(40.54, 60.32, -27.69) |
| CIE-LCH | lch(40.54, 66.37, 335.34°) |
| OKLab | oklab(51.3% 0.1778 -0.0754) |
| OKLCH | oklch(51.3% 0.193 337) |
| XYZ | xyz(21.3676, 11.5796, 26.6957) |
| Luminance | 0.1158 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.49
Barney Purple
#A00498
ΔE00 4.58
Ugly Purple
#A442A0
ΔE00 5.17
Medium Purple
#9E43A2
ΔE00 5.78
Light Eggplant
#894585
ΔE00 6.82
Barney
#AC1DB8
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6288E #28A640
analogous
#7F28A6 #A6288E #A6284F
triadic
#A6288E #8EA628 #288EA6
tetradic
#A6288E #A67F28 #28A640 #284FA6
square
#A6288E #A67F28 #28A640 #284FA6
split-complementary
#A6288E #4FA628 #28A67F
monochromatic
#43103A #751C64 #A6288E #D03BB4 #DC6DC7
Accessibility & contrast
On white
6.33
#A6288E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#A6288E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A6288E
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6288E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A6288E | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C5391
Deuteranopia (green-blind)
#58668B
Tritanopia (blue-blind)
#AF3058
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #a6288e; /* rgb */ color: rgb(166, 40, 142); /* oklch */ color: oklch(51.3% 0.193 337.0);
Tailwind
colors: {
custom: {
50: '#c470af',
500: '#a6288e',
950: '#000000',
},
}SCSS
$custom: #a6288e; $custom-light: #c470af; $custom-dark: #000000;
JSON
{
"hex": "#a6288e",
"rgb": {
"r": 166,
"g": 40,
"b": 142
},
"hsl": {
"h": 311.429,
"s": 61.165,
"l": 40.392
},
"oklch": {
"l": 0.51302,
"c": 0.19309,
"h": 337
},
"luminance": 0.11578
}Semantic roles & 50–950 ramp
primary
#A6288E
secondary
#67C279
accent
#E46244
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F