#AB305E#AB305E
#AB305E is a mid, vivid pink. Relative luminance 0.116; OKLCH L 50.9% C 0.163 H 2.2°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #AB305E |
|---|---|
| RGB | rgb(171, 48, 94) |
| HSL | hsl(338, 56%, 43%) |
| HSV | hsv(338, 72%, 67%) |
| CMYK | cmyk(0%, 71.9%, 45%, 32.9%) |
| CIE-LAB | lab(40.54, 53.04, 2.20) |
| CIE-LCH | lch(40.54, 53.08, 2.38°) |
| OKLab | oklab(50.86% 0.1624 0.0063) |
| OKLCH | oklch(50.86% 0.163 2.2) |
| XYZ | xyz(19.8734, 11.5825, 11.7766) |
| Luminance | 0.1158 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.20
Purplish Red
#B0054B
ΔE00 5.12
Violet Red
#A50055
ΔE00 5.14
Raspberry (survey)
#B00149
ΔE00 5.57
Deep Pink
#CB0162
ΔE00 5.58
Berry
#990F4B
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB305E #30AB7D
analogous
#AB309B #AB305E #AB4030
triadic
#AB305E #5EAB30 #305EAB
tetradic
#AB305E #9BAB30 #30AB7D #4030AB
square
#AB305E #9BAB30 #30AB7D #4030AB
split-complementary
#AB305E #30AB40 #309BAB
monochromatic
#4B1529 #7B2344 #AB305E #CD4C7C #DA7B9F
Accessibility & contrast
On white
6.33
#AB305E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#AB305E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB305E
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB305E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB305E | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B505F
Deuteranopia (green-blind)
#6C685B
Tritanopia (blue-blind)
#BA1D43
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #ab305e; /* rgb */ color: rgb(171, 48, 94); /* oklch */ color: oklch(50.9% 0.163 2.2);
Tailwind
colors: {
custom: {
50: '#c9728b',
500: '#ab305e',
950: '#000000',
},
}SCSS
$custom: #ab305e; $custom-light: #c9728b; $custom-dark: #000000;
JSON
{
"hex": "#ab305e",
"rgb": {
"r": 171,
"g": 48,
"b": 94
},
"hsl": {
"h": 337.561,
"s": 56.164,
"l": 42.941
},
"oklch": {
"l": 0.50864,
"c": 0.16256,
"h": 2.2
},
"luminance": 0.1158
}Semantic roles & 50–950 ramp
primary
#AB305E
secondary
#74C3A5
accent
#DFA748
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D