#AB304F#AB304F
#AB304F is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.4% C 0.159 H 10.2°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #AB304F |
|---|---|
| RGB | rgb(171, 48, 79) |
| HSL | hsl(345, 56%, 43%) |
| HSV | hsv(345, 72%, 67%) |
| CMYK | cmyk(0%, 71.9%, 53.8%, 32.9%) |
| CIE-LAB | lab(40.15, 51.70, 11.09) |
| CIE-LCH | lch(40.15, 52.87, 12.11°) |
| OKLab | oklab(50.44% 0.1568 0.0282) |
| OKLCH | oklch(50.44% 0.159 10.2) |
| XYZ | xyz(19.2646, 11.3390, 8.5698) |
| Luminance | 0.1134 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.58
Purplish Red
#B0054B
ΔE00 3.95
Raspberry (survey)
#B00149
ΔE00 4.02
Light Maroon
#A24857
ΔE00 4.90
Rouge
#AB1239
ΔE00 5.45
Dark Rose
#B5485D
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB304F #30AB8C
analogous
#AB308C #AB304F #AB4E30
triadic
#AB304F #4FAB30 #304FAB
tetradic
#AB304F #8CAB30 #30AB8C #4E30AB
square
#AB304F #8CAB30 #30AB8C #4E30AB
split-complementary
#AB304F #30AB4E #308CAB
monochromatic
#4B1523 #7B2339 #AB304F #CD4C6C #DA7B93
Accessibility & contrast
On white
6.43
#AB304F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#AB304F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB304F
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB304F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB304F | 1.00 | 6.43 | 3.27 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4F50
Deuteranopia (green-blind)
#6E684C
Tritanopia (blue-blind)
#BB143D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #ab304f; /* rgb */ color: rgb(171, 48, 79); /* oklch */ color: oklch(50.4% 0.159 10.2);
Tailwind
colors: {
custom: {
50: '#ca7280',
500: '#ab304f',
950: '#000000',
},
}SCSS
$custom: #ab304f; $custom-light: #ca7280; $custom-dark: #000000;
JSON
{
"hex": "#ab304f",
"rgb": {
"r": 171,
"g": 48,
"b": 79
},
"hsl": {
"h": 344.878,
"s": 56.164,
"l": 42.941
},
"oklch": {
"l": 0.50438,
"c": 0.15931,
"h": 10.2
},
"luminance": 0.11336
}Semantic roles & 50–950 ramp
primary
#AB304F
secondary
#74C3AF
accent
#DFB948
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C