#AB2740#AB2740
#AB2740 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.3% C 0.167 H 15.7°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2740 |
|---|---|
| RGB | rgb(171, 39, 64) |
| HSL | hsl(349, 63%, 41%) |
| HSV | hsv(349, 77%, 67%) |
| CMYK | cmyk(0%, 77.2%, 62.6%, 32.9%) |
| CIE-LAB | lab(38.69, 53.74, 18.61) |
| CIE-LCH | lch(38.69, 56.87, 19.10°) |
| OKLab | oklab(49.26% 0.1609 0.0452) |
| OKLCH | oklch(49.26% 0.167 15.7) |
| XYZ | xyz(18.4474, 10.4819, 5.9013) |
| Luminance | 0.1048 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.19
Rose Red
#BE013C
ΔE00 3.58
Raspberry (survey)
#B00149
ΔE00 5.32
Cranberry
#9E003A
ΔE00 5.43
Ruby
#CA0147
ΔE00 5.51
Purplish Red
#B0054B
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2740 #27AB92
analogous
#AB2782 #AB2740 #AB5027
triadic
#AB2740 #40AB27 #2740AB
tetradic
#AB2740 #82AB27 #27AB92 #5027AB
square
#AB2740 #82AB27 #27AB92 #5027AB
split-complementary
#AB2740 #27AB50 #2782AB
monochromatic
#47101B #791C2D #AB2740 #D33D59 #DE6E84
Accessibility & contrast
On white
6.78
#AB2740 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#AB2740 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2740
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2740 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2740 | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4A40
Deuteranopia (green-blind)
#6E653C
Tritanopia (blue-blind)
#BC0032
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2740; /* rgb */ color: rgb(171, 39, 64); /* oklch */ color: oklch(49.3% 0.167 15.7);
Tailwind
colors: {
custom: {
50: '#cb6d74',
500: '#ab2740',
950: '#000000',
},
}SCSS
$custom: #ab2740; $custom-light: #cb6d74; $custom-dark: #000000;
JSON
{
"hex": "#ab2740",
"rgb": {
"r": 171,
"g": 39,
"b": 64
},
"hsl": {
"h": 348.636,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.49255,
"c": 0.16712,
"h": 15.7
},
"luminance": 0.10479
}Semantic roles & 50–950 ramp
primary
#AB2740
secondary
#69C5B3
accent
#E6C742
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B