#A2297C#A2297C
#A2297C is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.9% C 0.178 H 343.5°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #A2297C |
|---|---|
| RGB | rgb(162, 41, 124) |
| HSL | hsl(319, 60%, 40%) |
| HSV | hsv(319, 75%, 64%) |
| CMYK | cmyk(0%, 74.7%, 23.5%, 36.5%) |
| CIE-LAB | lab(39.11, 56.49, -18.89) |
| CIE-LCH | lch(39.11, 59.57, 341.51°) |
| OKLab | oklab(49.86% 0.1704 -0.0505) |
| OKLCH | oklch(49.86% 0.178 343.5) |
| XYZ | xyz(19.3320, 10.7245, 20.1168) |
| Luminance | 0.1072 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.87
Warm Purple
#952E8F
ΔE00 5.72
Magenta (survey)
#C20078
ΔE00 6.35
Mediumvioletred
#C71585
ΔE00 6.79
Light Eggplant
#894585
ΔE00 7.11
Deep Magenta
#A0025C
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2297C #29A24F
analogous
#8C29A2 #A2297C #A22940
triadic
#A2297C #7CA229 #297CA2
tetradic
#A2297C #A28C29 #29A24F #2940A2
square
#A2297C #A28C29 #29A24F #2940A2
split-complementary
#A2297C #40A229 #29A28C
monochromatic
#401031 #711D57 #A2297C #CD3B9F #DA6CB7
Accessibility & contrast
On white
6.68
#A2297C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#A2297C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A2297C
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2297C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A2297C | 1.00 | 6.68 | 3.14 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#364F7E
Deuteranopia (green-blind)
#5C6379
Tritanopia (blue-blind)
#AD294F
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #a2297c; /* rgb */ color: rgb(162, 41, 124); /* oklch */ color: oklch(49.9% 0.178 343.5);
Tailwind
colors: {
custom: {
50: '#c16fa2',
500: '#a2297c',
950: '#000000',
},
}SCSS
$custom: #a2297c; $custom-light: #c16fa2; $custom-dark: #000000;
JSON
{
"hex": "#a2297c",
"rgb": {
"r": 162,
"g": 41,
"b": 124
},
"hsl": {
"h": 318.843,
"s": 59.606,
"l": 39.804
},
"oklch": {
"l": 0.49865,
"c": 0.17768,
"h": 343.5
},
"luminance": 0.10722
}Semantic roles & 50–950 ramp
primary
#A2297C
secondary
#67C083
accent
#E37745
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E