#AB2840#AB2840
#AB2840 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.3% C 0.166 H 15.9°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2840 |
|---|---|
| RGB | rgb(171, 40, 64) |
| HSL | hsl(349, 62%, 41%) |
| HSV | hsv(349, 77%, 67%) |
| CMYK | cmyk(0%, 76.6%, 62.6%, 32.9%) |
| CIE-LAB | lab(38.81, 53.42, 18.76) |
| CIE-LCH | lch(38.81, 56.62, 19.35°) |
| OKLab | oklab(49.34% 0.1599 0.0456) |
| OKLCH | oklch(49.34% 0.166 15.9) |
| XYZ | xyz(18.4807, 10.5484, 5.9124) |
| Luminance | 0.1055 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.31
Rose Red
#BE013C
ΔE00 3.60
Raspberry (survey)
#B00149
ΔE00 5.49
Ruby
#CA0147
ΔE00 5.53
Cardinal
#C41E3A
ΔE00 5.59
Cranberry
#9E003A
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2840 #28AB93
analogous
#AB2882 #AB2840 #AB5228
triadic
#AB2840 #40AB28 #2840AB
tetradic
#AB2840 #82AB28 #28AB93 #5228AB
square
#AB2840 #82AB28 #28AB93 #5228AB
split-complementary
#AB2840 #28AB52 #2882AB
monochromatic
#48111B #791C2D #AB2840 #D23E59 #DE7084
Accessibility & contrast
On white
6.75
#AB2840 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#AB2840 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2840
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2840 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2840 | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4A40
Deuteranopia (green-blind)
#6E653C
Tritanopia (blue-blind)
#BC0032
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2840; /* rgb */ color: rgb(171, 40, 64); /* oklch */ color: oklch(49.3% 0.166 15.9);
Tailwind
colors: {
custom: {
50: '#cb6e74',
500: '#ab2840',
950: '#000000',
},
}SCSS
$custom: #ab2840; $custom-light: #cb6e74; $custom-dark: #000000;
JSON
{
"hex": "#ab2840",
"rgb": {
"r": 171,
"g": 40,
"b": 64
},
"hsl": {
"h": 349.008,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.49341,
"c": 0.16621,
"h": 15.9
},
"luminance": 0.10546
}Semantic roles & 50–950 ramp
primary
#AB2840
secondary
#6AC4B4
accent
#E5C743
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B