#AB2945#AB2945
#AB2945 is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.5% C 0.166 H 13.7°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2945 |
|---|---|
| RGB | rgb(171, 41, 69) |
| HSL | hsl(347, 61%, 42%) |
| HSV | hsv(347, 76%, 67%) |
| CMYK | cmyk(0%, 76%, 59.6%, 32.9%) |
| CIE-LAB | lab(39.03, 53.42, 15.89) |
| CIE-LCH | lch(39.03, 55.73, 16.57°) |
| OKLab | oklab(49.54% 0.1608 0.0392) |
| OKLCH | oklch(49.54% 0.166 13.7) |
| XYZ | xyz(18.6636, 10.6762, 6.7070) |
| Luminance | 0.1067 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.02
Rose Red
#BE013C
ΔE00 4.21
Raspberry (survey)
#B00149
ΔE00 4.32
Purplish Red
#B0054B
ΔE00 4.55
Cranberry
#9E003A
ΔE00 5.23
Ruby
#CA0147
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2945 #29AB8F
analogous
#AB2986 #AB2945 #AB4E29
triadic
#AB2945 #45AB29 #2945AB
tetradic
#AB2945 #86AB29 #29AB8F #4E29AB
square
#AB2945 #86AB29 #29AB8F #4E29AB
split-complementary
#AB2945 #29AB4E #2986AB
monochromatic
#48111D #7A1D31 #AB2945 #D1405F #DD7189
Accessibility & contrast
On white
6.70
#AB2945 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#AB2945 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2945
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2945 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2945 | 1.00 | 6.70 | 3.13 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4B45
Deuteranopia (green-blind)
#6E6642
Tritanopia (blue-blind)
#BB0035
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab2945; /* rgb */ color: rgb(171, 41, 69); /* oklch */ color: oklch(49.5% 0.166 13.7);
Tailwind
colors: {
custom: {
50: '#cb6e78',
500: '#ab2945',
950: '#000000',
},
}SCSS
$custom: #ab2945; $custom-light: #cb6e78; $custom-dark: #000000;
JSON
{
"hex": "#ab2945",
"rgb": {
"r": 171,
"g": 41,
"b": 69
},
"hsl": {
"h": 347.077,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.49537,
"c": 0.1655,
"h": 13.7
},
"luminance": 0.10673
}Semantic roles & 50–950 ramp
primary
#AB2945
secondary
#6CC4B1
accent
#E4C243
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B