#AB542D#AB542D

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

Color values

HEX#AB542D
RGBrgb(171, 84, 45)
HSLhsl(19, 58%, 42%)
HSVhsv(19, 74%, 67%)
CMYKcmyk(0%, 50.9%, 73.7%, 32.9%)
CIE-LABlab(45.89, 32.78, 38.41)
CIE-LCHlch(45.89, 50.49, 49.52°)
OKLaboklab(54.58% 0.0915 0.0862)
OKLCHoklch(54.58% 0.126 43.3)
XYZxyz(20.4405, 15.1905, 4.3378)
Luminance0.1519 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB542D #2D84AB
analogous
#AB2D45 #AB542D #AB932D
triadic
#AB542D #2DAB54 #542DAB
tetradic
#AB542D #45AB2D #2D84AB #932DAB
square
#AB542D #45AB2D #2D84AB #932DAB
split-complementary
#AB542D #2DAB93 #2D45AB
monochromatic
#4A2414 #7B3C20 #AB542D #CE7147 #DB9677

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB542D#FFFFFF#000000##FFFFFF
##AB542D1.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)
#6C6129
Deuteranopia (green-blind)
#81742B
Tritanopia (blue-blind)
#BB424B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab542d;
/* rgb */ color: rgb(171, 84, 45);
/* oklch */ color: oklch(54.6% 0.126 43.3);
Tailwind
colors: {
  custom: {
    50: '#ca8668',
    500: '#ab542d',
    950: '#000000',
  },
}
SCSS
$custom: #ab542d;
$custom-light: #ca8668;
$custom-dark: #000000;
JSON
{
  "hex": "#ab542d",
  "rgb": {
    "r": 171,
    "g": 84,
    "b": 45
  },
  "hsl": {
    "h": 18.571,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54585,
    "c": 0.12571,
    "h": 43.3
  },
  "luminance": 0.15188
}

Semantic roles & 50–950 ramp

primary
#AB542D
secondary
#71AAC3
accent
#B1E246
background
#FDF8F6
surface
#FAEFEB
border
#D3CAC6
text
#140B06
muted
#837C7A

Preview Lab

Preview with #AB542D

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

Preview Lab → · Contrast checker → · Palette generator →

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