#AB502B#AB502B

#AB502B is a mid, vivid orange. Relative luminance 0.146; OKLCH L 53.9% C 0.130 H 41.5°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#AB502B
RGBrgb(171, 80, 43)
HSLhsl(17, 60%, 42%)
HSVhsv(17, 75%, 67%)
CMYKcmyk(0%, 53.2%, 74.9%, 32.9%)
CIE-LABlab(45.04, 34.78, 38.54)
CIE-LCHlch(45.04, 51.92, 47.94°)
OKLaboklab(53.93% 0.0972 0.0861)
OKLCHoklch(53.93% 0.13 41.5)
XYZxyz(20.1012, 14.5722, 4.0392)
Luminance0.1457 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB502B #2B86AB
analogous
#AB2B46 #AB502B #AB902B
triadic
#AB502B #2BAB50 #502BAB
tetradic
#AB502B #46AB2B #2B86AB #902BAB
square
#AB502B #46AB2B #2B86AB #902BAB
split-complementary
#AB502B #2BAB90 #2B46AB
monochromatic
#492212 #7A391F #AB502B #D06C43 #DC9274

Accessibility & contrast

On white

5.37
#AB502B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#AB502B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB502B
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB502B#FFFFFF#000000##FFFFFF
##AB502B1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695E27
Deuteranopia (green-blind)
#7F7229
Tritanopia (blue-blind)
#BC3D48
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab502b;
/* rgb */ color: rgb(171, 80, 43);
/* oklch */ color: oklch(53.9% 0.130 41.5);
Tailwind
colors: {
  custom: {
    50: '#cb8366',
    500: '#ab502b',
    950: '#000000',
  },
}
SCSS
$custom: #ab502b;
$custom-light: #cb8366;
$custom-dark: #000000;
JSON
{
  "hex": "#ab502b",
  "rgb": {
    "r": 171,
    "g": 80,
    "b": 43
  },
  "hsl": {
    "h": 17.344,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5393,
    "c": 0.12986,
    "h": 41.5
  },
  "luminance": 0.1457
}

Semantic roles & 50–950 ramp

primary
#AB502B
secondary
#6EABC4
accent
#B5E345
background
#FDF8F6
surface
#FAEFEB
border
#D3CAC6
text
#150B06
muted
#837C7A

Preview Lab

Preview with #AB502B

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

Preview Lab → · Contrast checker → · Palette generator →

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