#A3298E#A3298E
#A3298E is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.9% C 0.190 H 336.0°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #A3298E |
|---|---|
| RGB | rgb(163, 41, 142) |
| HSL | hsl(310, 60%, 40%) |
| HSV | hsv(310, 75%, 64%) |
| CMYK | cmyk(0%, 74.8%, 12.9%, 36.1%) |
| CIE-LAB | lab(40.13, 59.29, -28.38) |
| CIE-LCH | lch(40.13, 65.73, 334.42°) |
| OKLab | oklab(50.9% 0.1738 -0.0774) |
| OKLCH | oklch(50.9% 0.19 336) |
| XYZ | xyz(20.7800, 11.3273, 26.6779) |
| Luminance | 0.1133 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.89
Barney Purple
#A00498
ΔE00 4.23
Ugly Purple
#A442A0
ΔE00 5.15
Medium Purple
#9E43A2
ΔE00 5.62
Light Eggplant
#894585
ΔE00 6.48
Barney
#AC1DB8
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A3298E #29A33E
analogous
#7B29A3 #A3298E #A32951
triadic
#A3298E #8EA329 #298EA3
tetradic
#A3298E #A37B29 #29A33E #2951A3
square
#A3298E #A37B29 #29A33E #2951A3
split-complementary
#A3298E #51A329 #29A37B
monochromatic
#411039 #721D63 #A3298E #CE3BB5 #DA6CC7
Accessibility & contrast
On white
6.43
#A3298E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#A3298E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A3298E
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A3298E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A3298E | 1.00 | 6.43 | 3.27 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B5391
Deuteranopia (green-blind)
#56658B
Tritanopia (blue-blind)
#AB3259
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #a3298e; /* rgb */ color: rgb(163, 41, 142); /* oklch */ color: oklch(50.9% 0.190 336.0);
Tailwind
colors: {
custom: {
50: '#c270af',
500: '#a3298e',
950: '#000000',
},
}SCSS
$custom: #a3298e; $custom-light: #c270af; $custom-dark: #000000;
JSON
{
"hex": "#a3298e",
"rgb": {
"r": 163,
"g": 41,
"b": 142
},
"hsl": {
"h": 310.328,
"s": 59.804,
"l": 40
},
"oklch": {
"l": 0.50904,
"c": 0.19029,
"h": 336
},
"luminance": 0.11325
}Semantic roles & 50–950 ramp
primary
#A3298E
secondary
#67C177
accent
#E36045
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F