#AB305A#AB305A
#AB305A is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.7% C 0.161 H 4.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #AB305A |
|---|---|
| RGB | rgb(171, 48, 90) |
| HSL | hsl(340, 56%, 43%) |
| HSV | hsv(340, 72%, 67%) |
| CMYK | cmyk(0%, 71.9%, 47.4%, 32.9%) |
| CIE-LAB | lab(40.43, 52.66, 4.56) |
| CIE-LCH | lch(40.43, 52.85, 4.94°) |
| OKLab | oklab(50.74% 0.161 0.0122) |
| OKLCH | oklch(50.74% 0.161 4.3) |
| XYZ | xyz(19.6986, 11.5126, 10.8557) |
| Luminance | 0.1151 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.52
Purplish Red
#B0054B
ΔE00 4.39
Raspberry (survey)
#B00149
ΔE00 4.80
Violet Red
#A50055
ΔE00 5.47
Deep Pink
#CB0162
ΔE00 5.65
Light Maroon
#A24857
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB305A #30AB81
analogous
#AB3097 #AB305A #AB4330
triadic
#AB305A #5AAB30 #305AAB
tetradic
#AB305A #97AB30 #30AB81 #4330AB
square
#AB305A #97AB30 #30AB81 #4330AB
split-complementary
#AB305A #30AB43 #3097AB
monochromatic
#4B1528 #7B2341 #AB305A #CD4C78 #DA7B9C
Accessibility & contrast
On white
6.36
#AB305A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#AB305A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB305A
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB305A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB305A | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C505B
Deuteranopia (green-blind)
#6D6857
Tritanopia (blue-blind)
#BA1B41
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #ab305a; /* rgb */ color: rgb(171, 48, 90); /* oklch */ color: oklch(50.7% 0.161 4.3);
Tailwind
colors: {
custom: {
50: '#c97288',
500: '#ab305a',
950: '#000000',
},
}SCSS
$custom: #ab305a; $custom-light: #c97288; $custom-dark: #000000;
JSON
{
"hex": "#ab305a",
"rgb": {
"r": 171,
"g": 48,
"b": 90
},
"hsl": {
"h": 339.512,
"s": 56.164,
"l": 42.941
},
"oklch": {
"l": 0.50742,
"c": 0.16145,
"h": 4.3
},
"luminance": 0.1151
}Semantic roles & 50–950 ramp
primary
#AB305A
secondary
#74C3A8
accent
#DFAC48
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C