#AB3742#AB3742
#AB3742 is a mid, vivid red. Relative luminance 0.118; OKLCH L 50.9% C 0.151 H 19.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #AB3742 |
|---|---|
| RGB | rgb(171, 55, 66) |
| HSL | hsl(354, 51%, 44%) |
| HSV | hsv(354, 68%, 67%) |
| CMYK | cmyk(0%, 67.8%, 61.4%, 32.9%) |
| CIE-LAB | lab(40.87, 47.95, 20.22) |
| CIE-LCH | lch(40.87, 52.04, 22.86°) |
| OKLab | oklab(50.89% 0.1427 0.0491) |
| OKLCH | oklch(50.89% 0.151 19) |
| XYZ | xyz(19.1460, 11.7863, 6.4200) |
| Luminance | 0.1178 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 4.94
Rouge
#AB1239
ΔE00 4.96
Rose Red
#BE013C
ΔE00 5.07
Dusty Red
#B9484E
ΔE00 5.10
Dull Red
#BB3F3F
ΔE00 5.30
Lipstick Red
#C0022F
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB3742 #37ABA0
analogous
#AB377C #AB3742 #AB6637
triadic
#AB3742 #42AB37 #3742AB
tetradic
#AB3742 #7CAB37 #37ABA0 #6637AB
square
#AB3742 #7CAB37 #37ABA0 #6637AB
split-complementary
#AB3742 #37AB66 #377CAB
monochromatic
#4E191E #7D2830 #AB3742 #C95661 #D8858D
Accessibility & contrast
On white
6.26
#AB3742 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#AB3742 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB3742
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB3742 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB3742 | 1.00 | 6.26 | 3.36 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#555142
Deuteranopia (green-blind)
#73693F
Tritanopia (blue-blind)
#BB1C3C
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #ab3742; /* rgb */ color: rgb(171, 55, 66); /* oklch */ color: oklch(50.9% 0.151 19.0);
Tailwind
colors: {
custom: {
50: '#ca7576',
500: '#ab3742',
950: '#000000',
},
}SCSS
$custom: #ab3742; $custom-light: #ca7576; $custom-dark: #000000;
JSON
{
"hex": "#ab3742",
"rgb": {
"r": 171,
"g": 55,
"b": 66
},
"hsl": {
"h": 354.31,
"s": 51.327,
"l": 44.314
},
"oklch": {
"l": 0.5089,
"c": 0.15094,
"h": 19
},
"luminance": 0.11784
}Semantic roles & 50–950 ramp
primary
#AB3742
secondary
#7CC1BB
accent
#DBCD4D
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#140908
muted
#837B7B