#AB4840#AB4840

#AB4840 is a mid, vivid red. Relative luminance 0.137; OKLCH L 53.0% C 0.132 H 27.1°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#AB4840
RGBrgb(171, 72, 64)
HSLhsl(4, 46%, 46%)
HSVhsv(4, 63%, 67%)
CMYKcmyk(0%, 57.9%, 62.6%, 32.9%)
CIE-LABlab(43.75, 40.05, 25.12)
CIE-LCHlch(43.75, 47.28, 32.10°)
OKLaboklab(53.04% 0.1174 0.0601)
OKLCHoklch(53.04% 0.132 27.1)
XYZxyz(20.0392, 13.6654, 6.4319)
Luminance0.1366 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4840 #40A3AB
analogous
#AB406D #AB4840 #AB7D40
triadic
#AB4840 #40AB48 #4840AB
tetradic
#AB4840 #6DAB40 #40A3AB #7D40AB
square
#AB4840 #6DAB40 #40A3AB #7D40AB
split-complementary
#AB4840 #40AB7D #406DAB
monochromatic
#52221F #7E352F #AB4840 #C56B63 #D59590

Accessibility & contrast

On white

5.63
#AB4840 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#AB4840 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4840
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4840#FFFFFF#000000##FFFFFF
##AB48401.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615A3F
Deuteranopia (green-blind)
#7A6F3E
Tritanopia (blue-blind)
#BB3547
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab4840;
/* rgb */ color: rgb(171, 72, 64);
/* oklch */ color: oklch(53.0% 0.132 27.1);
Tailwind
colors: {
  custom: {
    50: '#ca7e75',
    500: '#ab4840',
    950: '#000000',
  },
}
SCSS
$custom: #ab4840;
$custom-light: #ca7e75;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4840",
  "rgb": {
    "r": 171,
    "g": 72,
    "b": 64
  },
  "hsl": {
    "h": 4.486,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53038,
    "c": 0.13192,
    "h": 27.1
  },
  "luminance": 0.13663
}

Semantic roles & 50–950 ramp

primary
#AB4840
secondary
#86BCC1
accent
#CBD553
background
#FDF7F7
surface
#FAEEED
border
#D3C9C8
text
#140A08
muted
#837C7B

Preview Lab

Preview with #AB4840

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AB4840 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva