#AB304A#AB304A
#AB304A is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.3% C 0.159 H 12.8°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #AB304A |
|---|---|
| RGB | rgb(171, 48, 74) |
| HSL | hsl(347, 56%, 43%) |
| HSV | hsv(347, 72%, 67%) |
| CMYK | cmyk(0%, 71.9%, 56.7%, 32.9%) |
| CIE-LAB | lab(40.03, 51.30, 14.09) |
| CIE-LCH | lch(40.03, 53.20, 15.35°) |
| OKLab | oklab(50.31% 0.1548 0.0352) |
| OKLCH | oklch(50.31% 0.159 12.8) |
| XYZ | xyz(19.0894, 11.2689, 7.6472) |
| Luminance | 0.1127 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 4.32
Light Burgundy
#A8415B
ΔE00 4.58
Raspberry (survey)
#B00149
ΔE00 4.63
Purplish Red
#B0054B
ΔE00 4.74
Light Maroon
#A24857
ΔE00 5.02
Rose Red
#BE013C
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB304A #30AB91
analogous
#AB3087 #AB304A #AB5330
triadic
#AB304A #4AAB30 #304AAB
tetradic
#AB304A #87AB30 #30AB91 #5330AB
square
#AB304A #87AB30 #30AB91 #5330AB
split-complementary
#AB304A #30AB53 #3087AB
monochromatic
#4B1521 #7B2335 #AB304A #CD4C67 #DA7B8F
Accessibility & contrast
On white
6.46
#AB304A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#AB304A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB304A
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB304A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB304A | 1.00 | 6.46 | 3.25 | 6.46 |
| #FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4E4A
Deuteranopia (green-blind)
#6F6847
Tritanopia (blue-blind)
#BB113B
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #ab304a; /* rgb */ color: rgb(171, 48, 74); /* oklch */ color: oklch(50.3% 0.159 12.8);
Tailwind
colors: {
custom: {
50: '#ca727c',
500: '#ab304a',
950: '#000000',
},
}SCSS
$custom: #ab304a; $custom-light: #ca727c; $custom-dark: #000000;
JSON
{
"hex": "#ab304a",
"rgb": {
"r": 171,
"g": 48,
"b": 74
},
"hsl": {
"h": 347.317,
"s": 56.164,
"l": 42.941
},
"oklch": {
"l": 0.50314,
"c": 0.15877,
"h": 12.8
},
"luminance": 0.11266
}Semantic roles & 50–950 ramp
primary
#AB304A
secondary
#74C3B2
accent
#DFC048
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140809
muted
#837B7B