#AB335E#AB335E
#AB335E is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.2% C 0.159 H 2.8°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #AB335E |
|---|---|
| RGB | rgb(171, 51, 94) |
| HSL | hsl(339, 54%, 44%) |
| HSV | hsv(339, 70%, 67%) |
| CMYK | cmyk(0%, 70.2%, 45%, 32.9%) |
| CIE-LAB | lab(40.95, 51.90, 2.79) |
| CIE-LCH | lch(40.95, 51.98, 3.08°) |
| OKLab | oklab(51.17% 0.1588 0.0078) |
| OKLCH | oklch(51.17% 0.159 2.8) |
| XYZ | xyz(20.0003, 11.8363, 11.8189) |
| Luminance | 0.1183 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.63
Purplish Red
#B0054B
ΔE00 5.29
Deep Pink
#CB0162
ΔE00 5.65
Violet Red
#A50055
ΔE00 5.68
Raspberry (survey)
#B00149
ΔE00 5.71
Light Maroon
#A24857
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB335E #33AB80
analogous
#AB339A #AB335E #AB4433
triadic
#AB335E #5EAB33 #335EAB
tetradic
#AB335E #9AAB33 #33AB80 #4433AB
square
#AB335E #9AAB33 #33AB80 #4433AB
split-complementary
#AB335E #33AB44 #339AAB
monochromatic
#4D172A #7C2544 #AB335E #CB507C #D97FA0
Accessibility & contrast
On white
6.24
#AB335E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#AB335E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB335E
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB335E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB335E | 1.00 | 6.24 | 3.37 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D525F
Deuteranopia (green-blind)
#6D695B
Tritanopia (blue-blind)
#BA2145
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #ab335e; /* rgb */ color: rgb(171, 51, 94); /* oklch */ color: oklch(51.2% 0.159 2.8);
Tailwind
colors: {
custom: {
50: '#c9748b',
500: '#ab335e',
950: '#000000',
},
}SCSS
$custom: #ab335e; $custom-light: #c9748b; $custom-dark: #000000;
JSON
{
"hex": "#ab335e",
"rgb": {
"r": 171,
"g": 51,
"b": 94
},
"hsl": {
"h": 338.5,
"s": 54.054,
"l": 43.529
},
"oklch": {
"l": 0.51167,
"c": 0.159,
"h": 2.8
},
"luminance": 0.11834
}Semantic roles & 50–950 ramp
primary
#AB335E
secondary
#78C2A7
accent
#DDA94A
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D