#AB296E#AB296E
#AB296E is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.177 H 353.0°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #AB296E |
|---|---|
| RGB | rgb(171, 41, 110) |
| HSL | hsl(328, 61%, 42%) |
| HSV | hsv(328, 76%, 67%) |
| CMYK | cmyk(0%, 76%, 35.7%, 32.9%) |
| CIE-LAB | lab(40.20, 57.14, -8.36) |
| CIE-LCH | lch(40.20, 57.75, 351.68°) |
| OKLab | oklab(50.78% 0.1753 -0.0214) |
| OKLCH | oklch(50.78% 0.177 353) |
| XYZ | xyz(20.4033, 11.3721, 15.8694) |
| Luminance | 0.1137 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.12
Deep Magenta
#A0025C
ΔE00 5.05
Red Violet
#9E0168
ΔE00 5.27
Dark Fuchsia
#9D0759
ΔE00 5.52
Violet Red
#A50055
ΔE00 5.83
Mediumvioletred
#C71585
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB296E #29AB66
analogous
#A729AB #AB296E #AB292D
triadic
#AB296E #6EAB29 #296EAB
tetradic
#AB296E #ABA729 #29AB66 #292DAB
square
#AB296E #ABA729 #29AB66 #292DAB
split-complementary
#AB296E #2DAB29 #29ABA7
monochromatic
#48112E #7A1D4E #AB296E #D1408D #DD71AB
Accessibility & contrast
On white
6.41
#AB296E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#AB296E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB296E
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB296E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB296E | 1.00 | 6.41 | 3.27 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#415070
Deuteranopia (green-blind)
#66676B
Tritanopia (blue-blind)
#B81C48
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #ab296e; /* rgb */ color: rgb(171, 41, 110); /* oklch */ color: oklch(50.8% 0.177 353.0);
Tailwind
colors: {
custom: {
50: '#c97097',
500: '#ab296e',
950: '#000000',
},
}SCSS
$custom: #ab296e; $custom-light: #c97097; $custom-dark: #000000;
JSON
{
"hex": "#ab296e",
"rgb": {
"r": 171,
"g": 41,
"b": 110
},
"hsl": {
"h": 328.154,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.50781,
"c": 0.17657,
"h": 353
},
"luminance": 0.1137
}Semantic roles & 50–950 ramp
primary
#AB296E
secondary
#6CC495
accent
#E48F43
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080D
muted
#827B7E