#AB255A#AB255A
#AB255A is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.8% C 0.173 H 2.5°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #AB255A |
|---|---|
| RGB | rgb(171, 37, 90) |
| HSL | hsl(336, 64%, 41%) |
| HSV | hsv(336, 78%, 67%) |
| CMYK | cmyk(0%, 78.4%, 47.4%, 32.9%) |
| CIE-LAB | lab(39.11, 56.37, 2.65) |
| CIE-LCH | lch(39.11, 56.43, 2.69°) |
| OKLab | oklab(49.77% 0.1729 0.0074) |
| OKLCH | oklch(49.77% 0.173 2.5) |
| XYZ | xyz(19.3032, 10.7219, 10.7239) |
| Luminance | 0.1072 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.69
Purplish Red
#B0054B
ΔE00 4.01
Raspberry (survey)
#B00149
ΔE00 4.49
Berry
#990F4B
ΔE00 4.96
Light Burgundy
#A8415B
ΔE00 5.37
Dark Fuchsia
#9D0759
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB255A #25AB76
analogous
#AB259D #AB255A #AB3325
triadic
#AB255A #5AAB25 #255AAB
tetradic
#AB255A #9DAB25 #25AB76 #3325AB
square
#AB255A #9DAB25 #25AB76 #3325AB
split-complementary
#AB255A #25AB33 #259DAB
monochromatic
#460F25 #791A40 #AB255A #D43976 #DF6B99
Accessibility & contrast
On white
6.68
#AB255A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#AB255A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB255A
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB255A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB255A | 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)
#464C5B
Deuteranopia (green-blind)
#696557
Tritanopia (blue-blind)
#BA013C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab255a; /* rgb */ color: rgb(171, 37, 90); /* oklch */ color: oklch(49.8% 0.173 2.5);
Tailwind
colors: {
custom: {
50: '#ca6d88',
500: '#ab255a',
950: '#000000',
},
}SCSS
$custom: #ab255a; $custom-light: #ca6d88; $custom-dark: #000000;
JSON
{
"hex": "#ab255a",
"rgb": {
"r": 171,
"g": 37,
"b": 90
},
"hsl": {
"h": 336.269,
"s": 64.423,
"l": 40.784
},
"oklch": {
"l": 0.49768,
"c": 0.17305,
"h": 2.5
},
"luminance": 0.10719
}Semantic roles & 50–950 ramp
primary
#AB255A
secondary
#67C5A0
accent
#E7A540
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C