#AB304B#AB304B
#AB304B is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.3% C 0.159 H 12.3°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #AB304B |
|---|---|
| RGB | rgb(171, 48, 75) |
| HSL | hsl(347, 56%, 43%) |
| HSV | hsv(347, 72%, 67%) |
| CMYK | cmyk(0%, 71.9%, 56.1%, 32.9%) |
| CIE-LAB | lab(40.05, 51.38, 13.49) |
| CIE-LCH | lch(40.05, 53.12, 14.71°) |
| OKLab | oklab(50.34% 0.1552 0.0338) |
| OKLCH | oklch(50.34% 0.159 12.3) |
| XYZ | xyz(19.1233, 11.2825, 7.8260) |
| Luminance | 0.1128 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.35
Raspberry (survey)
#B00149
ΔE00 4.47
Rouge
#AB1239
ΔE00 4.52
Purplish Red
#B0054B
ΔE00 4.54
Light Maroon
#A24857
ΔE00 4.95
Rose Red
#BE013C
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB304B #30AB90
analogous
#AB3088 #AB304B #AB5230
triadic
#AB304B #4BAB30 #304BAB
tetradic
#AB304B #88AB30 #30AB90 #5230AB
square
#AB304B #88AB30 #30AB90 #5230AB
split-complementary
#AB304B #30AB52 #3088AB
monochromatic
#4B1521 #7B2336 #AB304B #CD4C68 #DA7B90
Accessibility & contrast
On white
6.45
#AB304B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#AB304B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB304B
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB304B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB304B | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4E4B
Deuteranopia (green-blind)
#6F6848
Tritanopia (blue-blind)
#BB123B
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #ab304b; /* rgb */ color: rgb(171, 48, 75); /* oklch */ color: oklch(50.3% 0.159 12.3);
Tailwind
colors: {
custom: {
50: '#ca727d',
500: '#ab304b',
950: '#000000',
},
}SCSS
$custom: #ab304b; $custom-light: #ca727d; $custom-dark: #000000;
JSON
{
"hex": "#ab304b",
"rgb": {
"r": 171,
"g": 48,
"b": 75
},
"hsl": {
"h": 346.829,
"s": 56.164,
"l": 42.941
},
"oklch": {
"l": 0.50338,
"c": 0.15886,
"h": 12.3
},
"luminance": 0.1128
}Semantic roles & 50–950 ramp
primary
#AB304B
secondary
#74C3B1
accent
#DFBE48
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140809
muted
#837B7B