#AB2C45#AB2C45
#AB2C45 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.8% C 0.163 H 14.4°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2C45 |
|---|---|
| RGB | rgb(171, 44, 69) |
| HSL | hsl(348, 59%, 42%) |
| HSV | hsv(348, 74%, 67%) |
| CMYK | cmyk(0%, 74.3%, 59.6%, 32.9%) |
| CIE-LAB | lab(39.40, 52.39, 16.39) |
| CIE-LCH | lch(39.40, 54.90, 17.37°) |
| OKLab | oklab(49.81% 0.1575 0.0404) |
| OKLCH | oklch(49.81% 0.163 14.4) |
| XYZ | xyz(18.7713, 10.8917, 6.7429) |
| Luminance | 0.1089 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.20
Rose Red
#BE013C
ΔE00 4.19
Raspberry (survey)
#B00149
ΔE00 4.88
Purplish Red
#B0054B
ΔE00 5.11
Ruby
#CA0147
ΔE00 5.41
Cranberry
#9E003A
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2C45 #2CAB92
analogous
#AB2C85 #AB2C45 #AB532C
triadic
#AB2C45 #45AB2C #2C45AB
tetradic
#AB2C45 #85AB2C #2CAB92 #532CAB
square
#AB2C45 #85AB2C #2CAB92 #532CAB
split-complementary
#AB2C45 #2CAB53 #2C85AB
monochromatic
#4A131E #7A1F31 #AB2C45 #CF4560 #DC768A
Accessibility & contrast
On white
6.61
#AB2C45 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#AB2C45 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2C45
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2C45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2C45 | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4C45
Deuteranopia (green-blind)
#6F6642
Tritanopia (blue-blind)
#BB0136
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab2c45; /* rgb */ color: rgb(171, 44, 69); /* oklch */ color: oklch(49.8% 0.163 14.4);
Tailwind
colors: {
custom: {
50: '#cb7078',
500: '#ab2c45',
950: '#000000',
},
}SCSS
$custom: #ab2c45; $custom-light: #cb7078; $custom-dark: #000000;
JSON
{
"hex": "#ab2c45",
"rgb": {
"r": 171,
"g": 44,
"b": 69
},
"hsl": {
"h": 348.189,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.4981,
"c": 0.16258,
"h": 14.4
},
"luminance": 0.10889
}Semantic roles & 50–950 ramp
primary
#AB2C45
secondary
#6FC3B3
accent
#E2C346
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B