#AB2942#AB2942
#AB2942 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.5% C 0.165 H 15.2°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2942 |
|---|---|
| RGB | rgb(171, 41, 66) |
| HSL | hsl(348, 61%, 42%) |
| HSV | hsv(348, 76%, 67%) |
| CMYK | cmyk(0%, 76%, 61.4%, 32.9%) |
| CIE-LAB | lab(38.97, 53.22, 17.71) |
| CIE-LCH | lch(38.97, 56.09, 18.40°) |
| OKLab | oklab(49.47% 0.1596 0.0433) |
| OKLCH | oklch(49.47% 0.165 15.2) |
| XYZ | xyz(18.5728, 10.6399, 6.2289) |
| Luminance | 0.1064 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.56
Rose Red
#BE013C
ΔE00 3.78
Raspberry (survey)
#B00149
ΔE00 5.10
Purplish Red
#B0054B
ΔE00 5.38
Ruby
#CA0147
ΔE00 5.43
Cranberry
#9E003A
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2942 #29AB92
analogous
#AB2983 #AB2942 #AB5129
triadic
#AB2942 #42AB29 #2942AB
tetradic
#AB2942 #83AB29 #29AB92 #5129AB
square
#AB2942 #83AB29 #29AB92 #5129AB
split-complementary
#AB2942 #29AB51 #2983AB
monochromatic
#48111C #7A1D2F #AB2942 #D1405C #DD7186
Accessibility & contrast
On white
6.71
#AB2942 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#AB2942 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2942
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2942 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2942 | 1.00 | 6.71 | 3.13 | 6.71 |
| #FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4B42
Deuteranopia (green-blind)
#6E663E
Tritanopia (blue-blind)
#BB0034
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab2942; /* rgb */ color: rgb(171, 41, 66); /* oklch */ color: oklch(49.5% 0.165 15.2);
Tailwind
colors: {
custom: {
50: '#cb6e76',
500: '#ab2942',
950: '#000000',
},
}SCSS
$custom: #ab2942; $custom-light: #cb6e76; $custom-dark: #000000;
JSON
{
"hex": "#ab2942",
"rgb": {
"r": 171,
"g": 41,
"b": 66
},
"hsl": {
"h": 348.462,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.49471,
"c": 0.16535,
"h": 15.2
},
"luminance": 0.10637
}Semantic roles & 50–950 ramp
primary
#AB2942
secondary
#6CC4B3
accent
#E4C543
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B