#A6278E#A6278E
#A6278E is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.2% C 0.194 H 337.0°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #A6278E |
|---|---|
| RGB | rgb(166, 39, 142) |
| HSL | hsl(311, 62%, 40%) |
| HSV | hsv(311, 77%, 65%) |
| CMYK | cmyk(0%, 76.5%, 14.5%, 34.9%) |
| CIE-LAB | lab(40.43, 60.63, -27.86) |
| CIE-LCH | lch(40.43, 66.72, 335.32°) |
| OKLab | oklab(51.22% 0.1787 -0.0758) |
| OKLCH | oklch(51.22% 0.194 337) |
| XYZ | xyz(21.3343, 11.5130, 26.6846) |
| Luminance | 0.1151 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.46
Barney Purple
#A00498
ΔE00 4.47
Ugly Purple
#A442A0
ΔE00 5.26
Medium Purple
#9E43A2
ΔE00 5.85
Light Eggplant
#894585
ΔE00 6.88
Barney
#AC1DB8
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6278E #27A63F
analogous
#7F27A6 #A6278E #A6274E
triadic
#A6278E #8EA627 #278EA6
tetradic
#A6278E #A67F27 #27A63F #274EA6
square
#A6278E #A67F27 #27A63F #274EA6
split-complementary
#A6278E #4EA627 #27A67F
monochromatic
#431039 #741B64 #A6278E #D13AB4 #DC6BC7
Accessibility & contrast
On white
6.36
#A6278E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#A6278E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A6278E
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6278E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A6278E | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B5391
Deuteranopia (green-blind)
#57668B
Tritanopia (blue-blind)
#AF2F58
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #a6278e; /* rgb */ color: rgb(166, 39, 142); /* oklch */ color: oklch(51.2% 0.194 337.0);
Tailwind
colors: {
custom: {
50: '#c46faf',
500: '#a6278e',
950: '#000000',
},
}SCSS
$custom: #a6278e; $custom-light: #c46faf; $custom-dark: #000000;
JSON
{
"hex": "#a6278e",
"rgb": {
"r": 166,
"g": 39,
"b": 142
},
"hsl": {
"h": 311.339,
"s": 61.951,
"l": 40.196
},
"oklch": {
"l": 0.51223,
"c": 0.19413,
"h": 337
},
"luminance": 0.11511
}Semantic roles & 50–950 ramp
primary
#A6278E
secondary
#66C378
accent
#E56143
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F