#AB3242#AB3242
#AB3242 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.3% C 0.156 H 17.4°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #AB3242 |
|---|---|
| RGB | rgb(171, 50, 66) |
| HSL | hsl(352, 55%, 43%) |
| HSV | hsv(352, 71%, 67%) |
| CMYK | cmyk(0%, 70.8%, 61.4%, 32.9%) |
| CIE-LAB | lab(40.14, 49.96, 19.25) |
| CIE-LCH | lch(40.14, 53.55, 21.07°) |
| OKLab | oklab(50.34% 0.1492 0.0469) |
| OKLCH | oklch(50.34% 0.156 17.4) |
| XYZ | xyz(18.9204, 11.3352, 6.3448) |
| Luminance | 0.1133 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.89
Rose Red
#BE013C
ΔE00 4.34
Cardinal
#C41E3A
ΔE00 5.10
Lipstick Red
#C0022F
ΔE00 5.88
Ruby
#CA0147
ΔE00 5.93
Dusty Red
#B9484E
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB3242 #32AB9B
analogous
#AB327E #AB3242 #AB5E32
triadic
#AB3242 #42AB32 #3242AB
tetradic
#AB3242 #7EAB32 #32AB9B #5E32AB
square
#AB3242 #7EAB32 #32AB9B #5E32AB
split-complementary
#AB3242 #32AB5E #327EAB
monochromatic
#4C161D #7C2430 #AB3242 #CB4F5F #D97E8A
Accessibility & contrast
On white
6.43
#AB3242 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#AB3242 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB3242
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB3242 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB3242 | 1.00 | 6.43 | 3.27 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524E42
Deuteranopia (green-blind)
#71683F
Tritanopia (blue-blind)
#BB1139
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #ab3242; /* rgb */ color: rgb(171, 50, 66); /* oklch */ color: oklch(50.3% 0.156 17.4);
Tailwind
colors: {
custom: {
50: '#cb7276',
500: '#ab3242',
950: '#000000',
},
}SCSS
$custom: #ab3242; $custom-light: #cb7276; $custom-dark: #000000;
JSON
{
"hex": "#ab3242",
"rgb": {
"r": 171,
"g": 50,
"b": 66
},
"hsl": {
"h": 352.066,
"s": 54.751,
"l": 43.333
},
"oklch": {
"l": 0.50342,
"c": 0.15634,
"h": 17.4
},
"luminance": 0.11332
}Semantic roles & 50–950 ramp
primary
#AB3242
secondary
#77C2B8
accent
#DECA4A
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B