#AB305F#AB305F
#AB305F is a mid, vivid pink. Relative luminance 0.116; OKLCH L 50.9% C 0.163 H 1.7°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #AB305F |
|---|---|
| RGB | rgb(171, 48, 95) |
| HSL | hsl(337, 56%, 43%) |
| HSV | hsv(337, 72%, 67%) |
| CMYK | cmyk(0%, 71.9%, 44.4%, 32.9%) |
| CIE-LAB | lab(40.57, 53.14, 1.61) |
| CIE-LCH | lch(40.57, 53.16, 1.74°) |
| OKLab | oklab(50.9% 0.1628 0.0048) |
| OKLCH | oklch(50.9% 0.163 1.7) |
| XYZ | xyz(19.9186, 11.6006, 12.0145) |
| Luminance | 0.1160 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.39
Violet Red
#A50055
ΔE00 5.10
Purplish Red
#B0054B
ΔE00 5.33
Deep Pink
#CB0162
ΔE00 5.60
Raspberry (survey)
#B00149
ΔE00 5.78
Berry
#990F4B
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB305F #30AB7C
analogous
#AB309C #AB305F #AB3E30
triadic
#AB305F #5FAB30 #305FAB
tetradic
#AB305F #9CAB30 #30AB7C #3E30AB
square
#AB305F #9CAB30 #30AB7C #3E30AB
split-complementary
#AB305F #30AB3E #309CAB
monochromatic
#4B152A #7B2344 #AB305F #CD4C7D #DA7BA0
Accessibility & contrast
On white
6.33
#AB305F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#AB305F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB305F
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB305F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB305F | 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)
#4B5060
Deuteranopia (green-blind)
#6C685C
Tritanopia (blue-blind)
#BA1D44
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #ab305f; /* rgb */ color: rgb(171, 48, 95); /* oklch */ color: oklch(50.9% 0.163 1.7);
Tailwind
colors: {
custom: {
50: '#c9728c',
500: '#ab305f',
950: '#000000',
},
}SCSS
$custom: #ab305f; $custom-light: #c9728c; $custom-dark: #000000;
JSON
{
"hex": "#ab305f",
"rgb": {
"r": 171,
"g": 48,
"b": 95
},
"hsl": {
"h": 337.073,
"s": 56.164,
"l": 42.941
},
"oklch": {
"l": 0.50895,
"c": 0.16286,
"h": 1.7
},
"luminance": 0.11598
}Semantic roles & 50–950 ramp
primary
#AB305F
secondary
#74C3A5
accent
#DFA648
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D