#AB4152#AB4152
#AB4152 is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.5% C 0.139 H 13.6°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4152 |
|---|---|
| RGB | rgb(171, 65, 82) |
| HSL | hsl(350, 45%, 46%) |
| HSV | hsv(350, 62%, 67%) |
| CMYK | cmyk(0%, 62%, 52%, 32.9%) |
| CIE-LAB | lab(42.84, 44.81, 12.94) |
| CIE-LCH | lch(42.84, 46.65, 16.11°) |
| OKLab | oklab(52.47% 0.1353 0.0328) |
| OKLCH | oklch(52.47% 0.139 13.6) |
| XYZ | xyz(20.2095, 13.0502, 9.4357) |
| Luminance | 0.1305 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Light Maroon
#A24857
ΔE00 2.52
Dark Rose
#B5485D
ΔE00 3.25
Light Burgundy
#A8415B
ΔE00 3.39
Dusty Red
#B9484E
ΔE00 5.23
Ruby
#CA0147
ΔE00 6.93
Deep Rose
#C74767
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4152 #41AB9A
analogous
#AB4187 #AB4152 #AB6541
triadic
#AB4152 #52AB41 #4152AB
tetradic
#AB4152 #87AB41 #41AB9A #6541AB
square
#AB4152 #87AB41 #41AB9A #6541AB
split-complementary
#AB4152 #41AB65 #4187AB
monochromatic
#521F27 #7F303D #AB4152 #C46574 #D5919C
Accessibility & contrast
On white
5.82
#AB4152 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#AB4152 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB4152
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4152 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB4152 | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#595852
Deuteranopia (green-blind)
#746D50
Tritanopia (blue-blind)
#BA3048
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ab4152; /* rgb */ color: rgb(171, 65, 82); /* oklch */ color: oklch(52.5% 0.139 13.6);
Tailwind
colors: {
custom: {
50: '#c97b82',
500: '#ab4152',
950: '#000000',
},
}SCSS
$custom: #ab4152; $custom-light: #c97b82; $custom-dark: #000000;
JSON
{
"hex": "#ab4152",
"rgb": {
"r": 171,
"g": 65,
"b": 82
},
"hsl": {
"h": 350.377,
"s": 44.915,
"l": 46.275
},
"oklch": {
"l": 0.52468,
"c": 0.13916,
"h": 13.6
},
"luminance": 0.13048
}Semantic roles & 50–950 ramp
primary
#AB4152
secondary
#87C1B7
accent
#D5C053
background
#FDF7F7
surface
#FAEEEE
border
#D3C9C9
text
#140A0A
muted
#837C7C