#AB542C#AB542C

#AB542C is a mid, vivid orange. Relative luminance 0.152; OKLCH L 54.6% C 0.126 H 43.7°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AB542C
RGBrgb(171, 84, 44)
HSLhsl(19, 59%, 42%)
HSVhsv(19, 74%, 67%)
CMYKcmyk(0%, 50.9%, 74.3%, 32.9%)
CIE-LABlab(45.88, 32.73, 38.92)
CIE-LCHlch(45.88, 50.85, 49.94°)
OKLaboklab(54.57% 0.0911 0.0871)
OKLCHoklch(54.57% 0.126 43.7)
XYZxyz(20.4215, 15.1829, 4.2376)
Luminance0.1518 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB542C #2C83AB
analogous
#AB2C43 #AB542C #AB942C
triadic
#AB542C #2CAB54 #542CAB
tetradic
#AB542C #43AB2C #2C83AB #942CAB
square
#AB542C #43AB2C #2C83AB #942CAB
split-complementary
#AB542C #2CAB94 #2C43AB
monochromatic
#4A2413 #7A3C1F #AB542C #CF7145 #DC9676

Accessibility & contrast

On white

5.20
#AB542C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#AB542C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB542C
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB542C#FFFFFF#000000##FFFFFF
##AB542C1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6127
Deuteranopia (green-blind)
#81742A
Tritanopia (blue-blind)
#BC424B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab542c;
/* rgb */ color: rgb(171, 84, 44);
/* oklch */ color: oklch(54.6% 0.126 43.7);
Tailwind
colors: {
  custom: {
    50: '#ca8667',
    500: '#ab542c',
    950: '#000000',
  },
}
SCSS
$custom: #ab542c;
$custom-light: #ca8667;
$custom-dark: #000000;
JSON
{
  "hex": "#ab542c",
  "rgb": {
    "r": 171,
    "g": 84,
    "b": 44
  },
  "hsl": {
    "h": 18.898,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.54574,
    "c": 0.12607,
    "h": 43.7
  },
  "luminance": 0.1518
}

Semantic roles & 50–950 ramp

primary
#AB542C
secondary
#6FA9C3
accent
#B1E246
background
#FDF8F6
surface
#FAEFEB
border
#D3CAC6
text
#140B06
muted
#837C7A

Preview Lab

Preview with #AB542C

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

Preview Lab → · Contrast checker → · Palette generator →

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