#AB305B#AB305B
#AB305B is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.8% C 0.162 H 3.8°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #AB305B |
|---|---|
| RGB | rgb(171, 48, 91) |
| HSL | hsl(339, 56%, 43%) |
| HSV | hsv(339, 72%, 67%) |
| CMYK | cmyk(0%, 71.9%, 46.8%, 32.9%) |
| CIE-LAB | lab(40.46, 52.75, 3.97) |
| CIE-LCH | lch(40.46, 52.90, 4.30°) |
| OKLab | oklab(50.77% 0.1614 0.0107) |
| OKLCH | oklch(50.77% 0.162 3.8) |
| XYZ | xyz(19.7414, 11.5297, 11.0814) |
| Luminance | 0.1153 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.67
Purplish Red
#B0054B
ΔE00 4.56
Raspberry (survey)
#B00149
ΔE00 4.98
Violet Red
#A50055
ΔE00 5.36
Deep Pink
#CB0162
ΔE00 5.61
Berry
#990F4B
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB305B #30AB80
analogous
#AB3098 #AB305B #AB4230
triadic
#AB305B #5BAB30 #305BAB
tetradic
#AB305B #98AB30 #30AB80 #4230AB
square
#AB305B #98AB30 #30AB80 #4230AB
split-complementary
#AB305B #30AB42 #3098AB
monochromatic
#4B1528 #7B2342 #AB305B #CD4C79 #DA7B9C
Accessibility & contrast
On white
6.35
#AB305B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#AB305B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB305B
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB305B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB305B | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C505C
Deuteranopia (green-blind)
#6C6858
Tritanopia (blue-blind)
#BA1B42
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #ab305b; /* rgb */ color: rgb(171, 48, 91); /* oklch */ color: oklch(50.8% 0.162 3.8);
Tailwind
colors: {
custom: {
50: '#c97289',
500: '#ab305b',
950: '#000000',
},
}SCSS
$custom: #ab305b; $custom-light: #c97289; $custom-dark: #000000;
JSON
{
"hex": "#ab305b",
"rgb": {
"r": 171,
"g": 48,
"b": 91
},
"hsl": {
"h": 339.024,
"s": 56.164,
"l": 42.941
},
"oklch": {
"l": 0.50772,
"c": 0.16172,
"h": 3.8
},
"luminance": 0.11527
}Semantic roles & 50–950 ramp
primary
#AB305B
secondary
#74C3A7
accent
#DFAB48
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C