#AB3540#AB3540
#AB3540 is a mid, vivid red. Relative luminance 0.116; OKLCH L 50.6% C 0.153 H 19.3°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #AB3540 |
|---|---|
| RGB | rgb(171, 53, 64) |
| HSL | hsl(354, 53%, 44%) |
| HSV | hsv(354, 69%, 67%) |
| CMYK | cmyk(0%, 69%, 62.6%, 32.9%) |
| CIE-LAB | lab(40.54, 48.64, 21.01) |
| CIE-LCH | lch(40.54, 52.98, 23.37°) |
| OKLab | oklab(50.63% 0.1446 0.0507) |
| OKLCH | oklch(50.63% 0.153 19.3) |
| XYZ | xyz(18.9950, 11.5770, 6.0839) |
| Luminance | 0.1157 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 4.72
Cardinal
#C41E3A
ΔE00 4.75
Rose Red
#BE013C
ΔE00 4.90
Dull Red
#BB3F3F
ΔE00 5.29
Dusty Red
#B9484E
ΔE00 5.41
Lipstick Red
#C0022F
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB3540 #35ABA0
analogous
#AB357B #AB3540 #AB6535
triadic
#AB3540 #40AB35 #3540AB
tetradic
#AB3540 #7BAB35 #35ABA0 #6535AB
square
#AB3540 #7BAB35 #35ABA0 #6535AB
split-complementary
#AB3540 #35AB65 #357BAB
monochromatic
#4E181D #7C272F #AB3540 #CA535E #D8828A
Accessibility & contrast
On white
6.34
#AB3540 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#AB3540 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB3540
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB3540 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB3540 | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#545040
Deuteranopia (green-blind)
#72693D
Tritanopia (blue-blind)
#BB173A
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #ab3540; /* rgb */ color: rgb(171, 53, 64); /* oklch */ color: oklch(50.6% 0.153 19.3);
Tailwind
colors: {
custom: {
50: '#cb7474',
500: '#ab3540',
950: '#000000',
},
}SCSS
$custom: #ab3540; $custom-light: #cb7474; $custom-dark: #000000;
JSON
{
"hex": "#ab3540",
"rgb": {
"r": 171,
"g": 53,
"b": 64
},
"hsl": {
"h": 354.407,
"s": 52.679,
"l": 43.922
},
"oklch": {
"l": 0.50625,
"c": 0.1532,
"h": 19.3
},
"luminance": 0.11574
}Semantic roles & 50–950 ramp
primary
#AB3540
secondary
#7AC2BB
accent
#DCCF4C
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150908
muted
#837B7B