#AB2A5E#AB2A5E
#AB2A5E is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.3% C 0.169 H 1.2°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2A5E |
|---|---|
| RGB | rgb(171, 42, 94) |
| HSL | hsl(336, 61%, 42%) |
| HSV | hsv(336, 75%, 67%) |
| CMYK | cmyk(0%, 75.4%, 45%, 32.9%) |
| CIE-LAB | lab(39.79, 55.15, 1.10) |
| CIE-LCH | lch(39.79, 55.16, 1.15°) |
| OKLab | oklab(50.31% 0.1692 0.0035) |
| OKLCH | oklch(50.31% 0.169 1.2) |
| XYZ | xyz(19.6445, 11.1246, 11.7003) |
| Luminance | 0.1112 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.20
Purplish Red
#B0054B
ΔE00 4.98
Light Burgundy
#A8415B
ΔE00 5.23
Raspberry (survey)
#B00149
ΔE00 5.45
Deep Magenta
#A0025C
ΔE00 5.54
Dark Fuchsia
#9D0759
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2A5E #2AAB77
analogous
#AB2A9F #AB2A5E #AB372A
triadic
#AB2A5E #5EAB2A #2A5EAB
tetradic
#AB2A5E #9FAB2A #2AAB77 #372AAB
square
#AB2A5E #9FAB2A #2AAB77 #372AAB
split-complementary
#AB2A5E #2AAB37 #2A9FAB
monochromatic
#491228 #7A1E43 #AB2A5E #D1427B #DD739D
Accessibility & contrast
On white
6.51
#AB2A5E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#AB2A5E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2A5E
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2A5E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2A5E | 1.00 | 6.51 | 3.22 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474E5F
Deuteranopia (green-blind)
#6A675B
Tritanopia (blue-blind)
#BA1240
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #ab2a5e; /* rgb */ color: rgb(171, 42, 94); /* oklch */ color: oklch(50.3% 0.169 1.2);
Tailwind
colors: {
custom: {
50: '#c96f8b',
500: '#ab2a5e',
950: '#000000',
},
}SCSS
$custom: #ab2a5e; $custom-light: #c96f8b; $custom-dark: #000000;
JSON
{
"hex": "#ab2a5e",
"rgb": {
"r": 171,
"g": 42,
"b": 94
},
"hsl": {
"h": 335.814,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.50307,
"c": 0.16923,
"h": 1.2
},
"luminance": 0.11122
}Semantic roles & 50–950 ramp
primary
#AB2A5E
secondary
#6DC4A1
accent
#E4A344
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D