#AB502D#AB502D

#AB502D is a mid, vivid orange. Relative luminance 0.146; OKLCH L 54.0% C 0.129 H 40.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#AB502D
RGBrgb(171, 80, 45)
HSLhsl(17, 58%, 42%)
HSVhsv(17, 74%, 67%)
CMYKcmyk(0%, 53.2%, 73.7%, 32.9%)
CIE-LABlab(45.06, 34.88, 37.51)
CIE-LCHlch(45.06, 51.22, 47.08°)
OKLaboklab(53.95% 0.0979 0.0843)
OKLCHoklch(53.95% 0.129 40.7)
XYZxyz(20.1388, 14.5872, 4.2372)
Luminance0.1459 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB502D #2D88AB
analogous
#AB2D49 #AB502D #AB8F2D
triadic
#AB502D #2DAB50 #502DAB
tetradic
#AB502D #49AB2D #2D88AB #8F2DAB
square
#AB502D #49AB2D #2D88AB #8F2DAB
split-complementary
#AB502D #2DAB8F #2D49AB
monochromatic
#4A2314 #7B3920 #AB502D #CE6C47 #DB9377

Accessibility & contrast

On white

5.36
#AB502D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#AB502D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB502D
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB502D#FFFFFF#000000##FFFFFF
##AB502D1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab502d;
/* rgb */ color: rgb(171, 80, 45);
/* oklch */ color: oklch(54.0% 0.129 40.7);
Tailwind
colors: {
  custom: {
    50: '#ca8368',
    500: '#ab502d',
    950: '#000000',
  },
}
SCSS
$custom: #ab502d;
$custom-light: #ca8368;
$custom-dark: #000000;
JSON
{
  "hex": "#ab502d",
  "rgb": {
    "r": 171,
    "g": 80,
    "b": 45
  },
  "hsl": {
    "h": 16.667,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53952,
    "c": 0.12917,
    "h": 40.7
  },
  "luminance": 0.14585
}

Semantic roles & 50–950 ramp

primary
#AB502D
secondary
#71ACC3
accent
#B6E246
background
#FDF8F6
surface
#FAEFEB
border
#D3CAC6
text
#140B06
muted
#837C7A

Preview Lab

Preview with #AB502D

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

Preview Lab → · Contrast checker → · Palette generator →

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