#A5296F#A5296F
#A5296F is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.8% C 0.172 H 350.7°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #A5296F |
|---|---|
| RGB | rgb(165, 41, 111) |
| HSL | hsl(326, 60%, 40%) |
| HSV | hsv(326, 75%, 65%) |
| CMYK | cmyk(0%, 75.2%, 32.7%, 35.3%) |
| CIE-LAB | lab(39.13, 55.64, -10.70) |
| CIE-LCH | lch(39.13, 56.66, 349.11°) |
| OKLab | oklab(49.81% 0.1702 -0.0278) |
| OKLCH | oklch(49.81% 0.172 350.7) |
| XYZ | xyz(19.1803, 10.7351, 16.0979) |
| Luminance | 0.1073 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.23
Deep Magenta
#A0025C
ΔE00 4.76
Magenta (survey)
#C20078
ΔE00 5.01
Dark Fuchsia
#9D0759
ΔE00 5.24
Violet Red
#A50055
ΔE00 6.17
Dark Magenta
#960056
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5296F #29A55F
analogous
#9D29A5 #A5296F #A52931
triadic
#A5296F #6FA529 #296FA5
tetradic
#A5296F #A59D29 #29A55F #2931A5
square
#A5296F #A59D29 #29A55F #2931A5
split-complementary
#A5296F #31A529 #29A59D
monochromatic
#43112D #741D4E #A5296F #CF3D8F #DB6EAB
Accessibility & contrast
On white
6.67
#A5296F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#A5296F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A5296F
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5296F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5296F | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4E71
Deuteranopia (green-blind)
#62646C
Tritanopia (blue-blind)
#B12048
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #a5296f; /* rgb */ color: rgb(165, 41, 111); /* oklch */ color: oklch(49.8% 0.172 350.7);
Tailwind
colors: {
custom: {
50: '#c46f98',
500: '#a5296f',
950: '#000000',
},
}SCSS
$custom: #a5296f; $custom-light: #c46f98; $custom-dark: #000000;
JSON
{
"hex": "#a5296f",
"rgb": {
"r": 165,
"g": 41,
"b": 111
},
"hsl": {
"h": 326.129,
"s": 60.194,
"l": 40.392
},
"oklch": {
"l": 0.49807,
"c": 0.17247,
"h": 350.7
},
"luminance": 0.10733
}Semantic roles & 50–950 ramp
primary
#A5296F
secondary
#68C28F
accent
#E38A44
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E