#AB3138#AB3138
#AB3138 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.0% C 0.158 H 21.9°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #AB3138 |
|---|---|
| RGB | rgb(171, 49, 56) |
| HSL | hsl(357, 55%, 43%) |
| HSV | hsv(357, 71%, 67%) |
| CMYK | cmyk(0%, 71.3%, 67.3%, 32.9%) |
| CIE-LAB | lab(39.82, 49.73, 25.05) |
| CIE-LCH | lch(39.82, 55.68, 26.73°) |
| OKLab | oklab(50.05% 0.1464 0.059) |
| OKLCH | oklch(50.05% 0.158 21.9) |
| XYZ | xyz(18.6087, 11.1428, 4.9115) |
| Luminance | 0.1114 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.54
Lipstick Red
#C0022F
ΔE00 4.46
Cardinal
#C41E3A
ΔE00 4.59
Dull Red
#BB3F3F
ΔE00 4.86
Rouge
#AB1239
ΔE00 5.29
Firebrick
#B22222
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB3138 #31ABA4
analogous
#AB3175 #AB3138 #AB6731
triadic
#AB3138 #38AB31 #3138AB
tetradic
#AB3138 #75AB31 #31ABA4 #6731AB
square
#AB3138 #75AB31 #31ABA4 #6731AB
split-complementary
#AB3138 #31AB67 #3175AB
monochromatic
#4C1619 #7B2328 #AB3138 #CC4D54 #DA7D82
Accessibility & contrast
On white
6.51
#AB3138 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#AB3138 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB3138
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB3138 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB3138 | 1.00 | 6.51 | 3.23 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534D37
Deuteranopia (green-blind)
#726734
Tritanopia (blue-blind)
#BC0835
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #ab3138; /* rgb */ color: rgb(171, 49, 56); /* oklch */ color: oklch(50.0% 0.158 21.9);
Tailwind
colors: {
custom: {
50: '#cb726e',
500: '#ab3138',
950: '#000000',
},
}SCSS
$custom: #ab3138; $custom-light: #cb726e; $custom-dark: #000000;
JSON
{
"hex": "#ab3138",
"rgb": {
"r": 171,
"g": 49,
"b": 56
},
"hsl": {
"h": 356.557,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.50046,
"c": 0.15785,
"h": 21.9
},
"luminance": 0.1114
}Semantic roles & 50–950 ramp
primary
#AB3138
secondary
#75C2BE
accent
#DFD649
background
#FDF7F6
surface
#FAEDEC
border
#D3C8C7
text
#150807
muted
#837B7A