#AB313F#AB313F
#AB313F is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.2% C 0.157 H 18.6°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #AB313F |
|---|---|
| RGB | rgb(171, 49, 63) |
| HSL | hsl(353, 55%, 43%) |
| HSV | hsv(353, 71%, 67%) |
| CMYK | cmyk(0%, 71.3%, 63.2%, 32.9%) |
| CIE-LAB | lab(39.94, 50.15, 20.87) |
| CIE-LCH | lch(39.94, 54.32, 22.59°) |
| OKLab | oklab(50.18% 0.1492 0.0503) |
| OKLCH | oklch(50.18% 0.157 18.6) |
| XYZ | xyz(18.7920, 11.2161, 5.8771) |
| Luminance | 0.1121 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.95
Rose Red
#BE013C
ΔE00 4.36
Cardinal
#C41E3A
ΔE00 4.74
Lipstick Red
#C0022F
ΔE00 5.28
Brown
#A52A2A
ΔE00 5.67
Dull Red
#BB3F3F
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB313F #31AB9D
analogous
#AB317C #AB313F #AB6031
triadic
#AB313F #3FAB31 #313FAB
tetradic
#AB313F #7CAB31 #31AB9D #6031AB
square
#AB313F #7CAB31 #31AB9D #6031AB
split-complementary
#AB313F #31AB60 #317CAB
monochromatic
#4C161C #7B232D #AB313F #CC4D5C #DA7D87
Accessibility & contrast
On white
6.48
#AB313F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#AB313F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB313F
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB313F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB313F | 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)
#524E3F
Deuteranopia (green-blind)
#71683C
Tritanopia (blue-blind)
#BC0D37
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #ab313f; /* rgb */ color: rgb(171, 49, 63); /* oklch */ color: oklch(50.2% 0.157 18.6);
Tailwind
colors: {
custom: {
50: '#cb7273',
500: '#ab313f',
950: '#000000',
},
}SCSS
$custom: #ab313f; $custom-light: #cb7273; $custom-dark: #000000;
JSON
{
"hex": "#ab313f",
"rgb": {
"r": 171,
"g": 49,
"b": 63
},
"hsl": {
"h": 353.115,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.50176,
"c": 0.15744,
"h": 18.6
},
"luminance": 0.11213
}Semantic roles & 50–950 ramp
primary
#AB313F
secondary
#75C2BA
accent
#DFCE49
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B