#AB335A#AB335A
#AB335A is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.0% C 0.158 H 5.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #AB335A |
|---|---|
| RGB | rgb(171, 51, 90) |
| HSL | hsl(341, 54%, 44%) |
| HSV | hsv(341, 70%, 67%) |
| CMYK | cmyk(0%, 70.2%, 47.4%, 32.9%) |
| CIE-LAB | lab(40.84, 51.52, 5.14) |
| CIE-LCH | lch(40.84, 51.77, 5.70°) |
| OKLab | oklab(51.05% 0.1574 0.0137) |
| OKLCH | oklch(51.05% 0.158 5) |
| XYZ | xyz(19.8255, 11.7663, 10.8980) |
| Luminance | 0.1176 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 2.94
Purplish Red
#B0054B
ΔE00 4.66
Raspberry (survey)
#B00149
ΔE00 5.03
Light Maroon
#A24857
ΔE00 5.58
Deep Pink
#CB0162
ΔE00 5.79
Violet Red
#A50055
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB335A #33AB84
analogous
#AB3396 #AB335A #AB4833
triadic
#AB335A #5AAB33 #335AAB
tetradic
#AB335A #96AB33 #33AB84 #4833AB
square
#AB335A #96AB33 #33AB84 #4833AB
split-complementary
#AB335A #33AB48 #3396AB
monochromatic
#4D1728 #7C2541 #AB335A #CB5078 #D97F9D
Accessibility & contrast
On white
6.26
#AB335A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#AB335A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB335A
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB335A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB335A | 1.00 | 6.26 | 3.35 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E515B
Deuteranopia (green-blind)
#6E6957
Tritanopia (blue-blind)
#BA1F43
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #ab335a; /* rgb */ color: rgb(171, 51, 90); /* oklch */ color: oklch(51.0% 0.158 5.0);
Tailwind
colors: {
custom: {
50: '#c97388',
500: '#ab335a',
950: '#000000',
},
}SCSS
$custom: #ab335a; $custom-light: #c97388; $custom-dark: #000000;
JSON
{
"hex": "#ab335a",
"rgb": {
"r": 171,
"g": 51,
"b": 90
},
"hsl": {
"h": 340.5,
"s": 54.054,
"l": 43.529
},
"oklch": {
"l": 0.51047,
"c": 0.15794,
"h": 5
},
"luminance": 0.11764
}Semantic roles & 50–950 ramp
primary
#AB335A
secondary
#78C2AA
accent
#DDAE4A
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14090B
muted
#837B7C