#AB313E#AB313E
#AB313E is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.2% C 0.157 H 19.1°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #AB313E |
|---|---|
| RGB | rgb(171, 49, 62) |
| HSL | hsl(354, 55%, 43%) |
| HSV | hsv(354, 71%, 67%) |
| CMYK | cmyk(0%, 71.3%, 63.7%, 32.9%) |
| CIE-LAB | lab(39.92, 50.09, 21.47) |
| CIE-LCH | lch(39.92, 54.50, 23.20°) |
| OKLab | oklab(50.16% 0.1488 0.0516) |
| OKLCH | oklch(50.16% 0.157 19.1) |
| XYZ | xyz(18.7643, 11.2051, 5.7312) |
| Luminance | 0.1120 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 4.08
Rose Red
#BE013C
ΔE00 4.45
Cardinal
#C41E3A
ΔE00 4.65
Lipstick Red
#C0022F
ΔE00 5.10
Brown
#A52A2A
ΔE00 5.35
Dull Red
#BB3F3F
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB313E #31AB9E
analogous
#AB317B #AB313E #AB6131
triadic
#AB313E #3EAB31 #313EAB
tetradic
#AB313E #7BAB31 #31AB9E #6131AB
square
#AB313E #7BAB31 #31AB9E #6131AB
split-complementary
#AB313E #31AB61 #317BAB
monochromatic
#4C161C #7B232D #AB313E #CC4D5B #DA7D87
Accessibility & contrast
On white
6.48
#AB313E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#AB313E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB313E
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB313E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB313E | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524E3E
Deuteranopia (green-blind)
#71673B
Tritanopia (blue-blind)
#BC0C37
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #ab313e; /* rgb */ color: rgb(171, 49, 62); /* oklch */ color: oklch(50.2% 0.157 19.1);
Tailwind
colors: {
custom: {
50: '#cb7273',
500: '#ab313e',
950: '#000000',
},
}SCSS
$custom: #ab313e; $custom-light: #cb7273; $custom-dark: #000000;
JSON
{
"hex": "#ab313e",
"rgb": {
"r": 171,
"g": 49,
"b": 62
},
"hsl": {
"h": 353.607,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.50157,
"c": 0.15748,
"h": 19.1
},
"luminance": 0.11202
}Semantic roles & 50–950 ramp
primary
#AB313E
secondary
#75C2BA
accent
#DFCF49
background
#FDF7F6
surface
#FAEDEC
border
#D3C8C7
text
#150808
muted
#837B7B