#AB5342#AB5342

#AB5342 is a mid, moderate red. Relative luminance 0.152; OKLCH L 54.7% C 0.119 H 32.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#AB5342
RGBrgb(171, 83, 66)
HSLhsl(10, 44%, 46%)
HSVhsv(10, 61%, 67%)
CMYKcmyk(0%, 51.5%, 61.4%, 32.9%)
CIE-LABlab(45.96, 34.59, 26.73)
CIE-LCHlch(45.96, 43.71, 37.70°)
OKLaboklab(54.73% 0.1008 0.0639)
OKLCHoklch(54.73% 0.119 32.4)
XYZxyz(20.8730, 15.2402, 6.9957)
Luminance0.1524 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5342 #429AAB
analogous
#AB4266 #AB5342 #AB8842
triadic
#AB5342 #42AB53 #5342AB
tetradic
#AB5342 #66AB42 #429AAB #8842AB
square
#AB5342 #66AB42 #429AAB #8842AB
split-complementary
#AB5342 #42AB88 #4266AB
monochromatic
#532820 #7F3E31 #AB5342 #C47566 #D59D92

Accessibility & contrast

On white

5.19
#AB5342 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#AB5342 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB5342
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5342#FFFFFF#000000##FFFFFF
##AB53421.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#696140
Deuteranopia (green-blind)
#7F7440
Tritanopia (blue-blind)
#BB434F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab5342;
/* rgb */ color: rgb(171, 83, 66);
/* oklch */ color: oklch(54.7% 0.119 32.4);
Tailwind
colors: {
  custom: {
    50: '#c98576',
    500: '#ab5342',
    950: '#000000',
  },
}
SCSS
$custom: #ab5342;
$custom-light: #c98576;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5342",
  "rgb": {
    "r": 171,
    "g": 83,
    "b": 66
  },
  "hsl": {
    "h": 9.714,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54726,
    "c": 0.11933,
    "h": 32.4
  },
  "luminance": 0.15238
}

Semantic roles & 50–950 ramp

primary
#AB5342
secondary
#88B7C0
accent
#BFD454
background
#FDF8F7
surface
#FAEFED
border
#D3CAC8
text
#140B08
muted
#837C7B

Preview Lab

Preview with #AB5342

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

Preview Lab → · Contrast checker → · Palette generator →

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