#AB5540#AB5540

#AB5540 is a mid, moderate red. Relative luminance 0.155; OKLCH L 55.0% C 0.118 H 34.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#AB5540
RGBrgb(171, 85, 64)
HSLhsl(12, 46%, 46%)
HSVhsv(12, 63%, 67%)
CMYKcmyk(0%, 50.3%, 62.6%, 32.9%)
CIE-LABlab(46.35, 33.39, 28.37)
CIE-LCHlch(46.35, 43.81, 40.36°)
OKLaboklab(55.01% 0.0967 0.0674)
OKLCHoklch(55.01% 0.118 34.9)
XYZxyz(20.9703, 15.5275, 6.7423)
Luminance0.1552 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5540 #4096AB
analogous
#AB4060 #AB5540 #AB8A40
triadic
#AB5540 #40AB55 #5540AB
tetradic
#AB5540 #60AB40 #4096AB #8A40AB
square
#AB5540 #60AB40 #4096AB #8A40AB
split-complementary
#AB5540 #40AB8A #4060AB
monochromatic
#52291F #7E3F2F #AB5540 #C57763 #D59E90

Accessibility & contrast

On white

5.12
#AB5540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#AB5540 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB5540
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5540#FFFFFF#000000##FFFFFF
##AB55401.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B623E
Deuteranopia (green-blind)
#80753E
Tritanopia (blue-blind)
#BB4550
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab5540;
/* rgb */ color: rgb(171, 85, 64);
/* oklch */ color: oklch(55.0% 0.118 34.9);
Tailwind
colors: {
  custom: {
    50: '#c98775',
    500: '#ab5540',
    950: '#000000',
  },
}
SCSS
$custom: #ab5540;
$custom-light: #c98775;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5540",
  "rgb": {
    "r": 171,
    "g": 85,
    "b": 64
  },
  "hsl": {
    "h": 11.776,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5501,
    "c": 0.11788,
    "h": 34.9
  },
  "luminance": 0.15525
}

Semantic roles & 50–950 ramp

primary
#AB5540
secondary
#86B5C1
accent
#BCD553
background
#FDF8F7
surface
#FAEFED
border
#D3CAC8
text
#140B08
muted
#837C7B

Preview Lab

Preview with #AB5540

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

Preview Lab → · Contrast checker → · Palette generator →

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