#AB562A#AB562A

#AB562A is a mid, vivid orange. Relative luminance 0.155; OKLCH L 54.9% C 0.125 H 45.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#AB562A
RGBrgb(171, 86, 42)
HSLhsl(20, 61%, 42%)
HSVhsv(20, 75%, 67%)
CMYKcmyk(0%, 49.7%, 75.4%, 32.9%)
CIE-LABlab(46.29, 31.57, 40.38)
CIE-LCHlch(46.29, 51.25, 51.98°)
OKLaboklab(54.88% 0.0873 0.0898)
OKLCHoklch(54.88% 0.125 45.8)
XYZxyz(20.5422, 15.4831, 4.0968)
Luminance0.1548 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB562A #2A7FAB
analogous
#AB2A3F #AB562A #AB972A
triadic
#AB562A #2AAB56 #562AAB
tetradic
#AB562A #3FAB2A #2A7FAB #972AAB
square
#AB562A #3FAB2A #2A7FAB #972AAB
split-complementary
#AB562A #2AAB97 #2A3FAB
monochromatic
#492512 #7A3D1E #AB562A #D17242 #DD9773

Accessibility & contrast

On white

5.13
#AB562A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#AB562A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB562A
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB562A#FFFFFF#000000##FFFFFF
##AB562A1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6225
Deuteranopia (green-blind)
#827528
Tritanopia (blue-blind)
#BC444D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab562a;
/* rgb */ color: rgb(171, 86, 42);
/* oklch */ color: oklch(54.9% 0.125 45.8);
Tailwind
colors: {
  custom: {
    50: '#ca8766',
    500: '#ab562a',
    950: '#000000',
  },
}
SCSS
$custom: #ab562a;
$custom-light: #ca8766;
$custom-dark: #000000;
JSON
{
  "hex": "#ab562a",
  "rgb": {
    "r": 171,
    "g": 86,
    "b": 42
  },
  "hsl": {
    "h": 20.465,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.54878,
    "c": 0.12522,
    "h": 45.8
  },
  "luminance": 0.15481
}

Semantic roles & 50–950 ramp

primary
#AB562A
secondary
#6DA6C4
accent
#ADE444
background
#FDF8F6
surface
#FAEFEB
border
#D3CAC6
text
#140B06
muted
#837C7A

Preview Lab

Preview with #AB562A

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

Preview Lab → · Contrast checker → · Palette generator →

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