#AB4940#AB4940

#AB4940 is a mid, vivid red. Relative luminance 0.138; OKLCH L 53.2% C 0.131 H 27.6°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#AB4940
RGBrgb(171, 73, 64)
HSLhsl(5, 46%, 46%)
HSVhsv(5, 63%, 67%)
CMYKcmyk(0%, 57.3%, 62.6%, 32.9%)
CIE-LABlab(43.94, 39.56, 25.36)
CIE-LCHlch(43.94, 46.99, 32.67°)
OKLaboklab(53.18% 0.1159 0.0606)
OKLCHoklch(53.18% 0.131 27.6)
XYZxyz(20.1044, 13.7957, 6.4536)
Luminance0.1379 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4940 #40A2AB
analogous
#AB406C #AB4940 #AB7E40
triadic
#AB4940 #40AB49 #4940AB
tetradic
#AB4940 #6CAB40 #40A2AB #7E40AB
square
#AB4940 #6CAB40 #40A2AB #7E40AB
split-complementary
#AB4940 #40AB7E #406CAB
monochromatic
#52231F #7E362F #AB4940 #C56C63 #D59690

Accessibility & contrast

On white

5.59
#AB4940 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#AB4940 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4940
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4940#FFFFFF#000000##FFFFFF
##AB49401.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625B3F
Deuteranopia (green-blind)
#7A703E
Tritanopia (blue-blind)
#BB3747
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab4940;
/* rgb */ color: rgb(171, 73, 64);
/* oklch */ color: oklch(53.2% 0.131 27.6);
Tailwind
colors: {
  custom: {
    50: '#ca7f75',
    500: '#ab4940',
    950: '#000000',
  },
}
SCSS
$custom: #ab4940;
$custom-light: #ca7f75;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4940",
  "rgb": {
    "r": 171,
    "g": 73,
    "b": 64
  },
  "hsl": {
    "h": 5.047,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53181,
    "c": 0.1308,
    "h": 27.6
  },
  "luminance": 0.13793
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB4940

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

Preview Lab → · Contrast checker → · Palette generator →

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