#AB522D#AB522D

#AB522D is a mid, vivid orange. Relative luminance 0.149; OKLCH L 54.3% C 0.127 H 42.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#AB522D
RGBrgb(171, 82, 45)
HSLhsl(18, 58%, 42%)
HSVhsv(18, 74%, 67%)
CMYKcmyk(0%, 52%, 73.7%, 32.9%)
CIE-LABlab(45.48, 33.83, 37.95)
CIE-LCHlch(45.48, 50.84, 48.29°)
OKLaboklab(54.27% 0.0947 0.0853)
OKLCHoklch(54.27% 0.127 42)
XYZxyz(20.2875, 14.8845, 4.2868)
Luminance0.1488 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB522D #2D86AB
analogous
#AB2D47 #AB522D #AB912D
triadic
#AB522D #2DAB52 #522DAB
tetradic
#AB522D #47AB2D #2D86AB #912DAB
square
#AB522D #47AB2D #2D86AB #912DAB
split-complementary
#AB522D #2DAB91 #2D47AB
monochromatic
#4A2414 #7B3B20 #AB522D #CE6F47 #DB9577

Accessibility & contrast

On white

5.28
#AB522D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#AB522D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB522D
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB522D#FFFFFF#000000##FFFFFF
##AB522D1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5F29
Deuteranopia (green-blind)
#80732B
Tritanopia (blue-blind)
#BC3F4A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab522d;
/* rgb */ color: rgb(171, 82, 45);
/* oklch */ color: oklch(54.3% 0.127 42.0);
Tailwind
colors: {
  custom: {
    50: '#ca8468',
    500: '#ab522d',
    950: '#000000',
  },
}
SCSS
$custom: #ab522d;
$custom-light: #ca8468;
$custom-dark: #000000;
JSON
{
  "hex": "#ab522d",
  "rgb": {
    "r": 171,
    "g": 82,
    "b": 45
  },
  "hsl": {
    "h": 17.619,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54266,
    "c": 0.12742,
    "h": 42
  },
  "luminance": 0.14882
}

Semantic roles & 50–950 ramp

primary
#AB522D
secondary
#71ABC3
accent
#B4E246
background
#FDF8F6
surface
#FAEFEB
border
#D3CAC6
text
#140B06
muted
#837C7A

Preview Lab

Preview with #AB522D

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

Preview Lab → · Contrast checker → · Palette generator →

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