#AB542B#AB542B

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

Color values

HEX#AB542B
RGBrgb(171, 84, 43)
HSLhsl(19, 60%, 42%)
HSVhsv(19, 75%, 67%)
CMYKcmyk(0%, 50.9%, 74.9%, 32.9%)
CIE-LABlab(45.87, 32.68, 39.43)
CIE-LCHlch(45.87, 51.21, 50.34°)
OKLaboklab(54.56% 0.0908 0.088)
OKLCHoklch(54.56% 0.126 44.1)
XYZxyz(20.4029, 15.1755, 4.1398)
Luminance0.1517 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB542B #2B82AB
analogous
#AB2B42 #AB542B #AB942B
triadic
#AB542B #2BAB54 #542BAB
tetradic
#AB542B #42AB2B #2B82AB #942BAB
square
#AB542B #42AB2B #2B82AB #942BAB
split-complementary
#AB542B #2BAB94 #2B42AB
monochromatic
#492412 #7A3C1F #AB542B #D07043 #DC9674

Accessibility & contrast

On white

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

On black

4.03
#AB542B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AB542B#FFFFFF#000000##FFFFFF
##AB542B1.005.204.035.20
#FFFFFF5.201.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6126
Deuteranopia (green-blind)
#817429
Tritanopia (blue-blind)
#BC424B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab542b;
/* rgb */ color: rgb(171, 84, 43);
/* oklch */ color: oklch(54.6% 0.126 44.1);
Tailwind
colors: {
  custom: {
    50: '#ca8666',
    500: '#ab542b',
    950: '#000000',
  },
}
SCSS
$custom: #ab542b;
$custom-light: #ca8666;
$custom-dark: #000000;
JSON
{
  "hex": "#ab542b",
  "rgb": {
    "r": 171,
    "g": 84,
    "b": 43
  },
  "hsl": {
    "h": 19.219,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.54563,
    "c": 0.12645,
    "h": 44.1
  },
  "luminance": 0.15173
}

Semantic roles & 50–950 ramp

primary
#AB542B
secondary
#6EA8C4
accent
#B0E345
background
#FDF8F6
surface
#FAEFEB
border
#D3CAC6
text
#140B06
muted
#837C7A

Preview Lab

Preview with #AB542B

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

Preview Lab → · Contrast checker → · Palette generator →

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