#AB4942#AB4942

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

Color values

HEX#AB4942
RGBrgb(171, 73, 66)
HSLhsl(4, 44%, 46%)
HSVhsv(4, 61%, 67%)
CMYKcmyk(0%, 57.3%, 61.4%, 32.9%)
CIE-LABlab(43.97, 39.70, 24.21)
CIE-LCHlch(43.97, 46.50, 31.38°)
OKLaboklab(53.22% 0.1167 0.0582)
OKLCHoklch(53.22% 0.13 26.5)
XYZxyz(20.1623, 13.8189, 6.7588)
Luminance0.1382 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4942 #42A4AB
analogous
#AB4270 #AB4942 #AB7E42
triadic
#AB4942 #42AB49 #4942AB
tetradic
#AB4942 #70AB42 #42A4AB #7E42AB
square
#AB4942 #70AB42 #42A4AB #7E42AB
split-complementary
#AB4942 #42AB7E #4270AB
monochromatic
#532320 #7F3631 #AB4942 #C46C66 #D59792

Accessibility & contrast

On white

5.58
#AB4942 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB4942
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4942#FFFFFF#000000##FFFFFF
##AB49421.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625B41
Deuteranopia (green-blind)
#7A7040
Tritanopia (blue-blind)
#BB3748
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab4942;
/* rgb */ color: rgb(171, 73, 66);
/* oklch */ color: oklch(53.2% 0.130 26.5);
Tailwind
colors: {
  custom: {
    50: '#ca7f76',
    500: '#ab4942',
    950: '#000000',
  },
}
SCSS
$custom: #ab4942;
$custom-light: #ca7f76;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4942",
  "rgb": {
    "r": 171,
    "g": 73,
    "b": 66
  },
  "hsl": {
    "h": 4,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53217,
    "c": 0.1304,
    "h": 26.5
  },
  "luminance": 0.13816
}

Semantic roles & 50–950 ramp

primary
#AB4942
secondary
#88BDC0
accent
#CBD454
background
#FDF7F7
surface
#FAEEED
border
#D3C9C8
text
#140A08
muted
#837C7B

Preview Lab

Preview with #AB4942

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

Preview Lab → · Contrast checker → · Palette generator →

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