#AB5F2A#AB5F2A

#AB5F2A is a mid, moderate orange. Relative luminance 0.170; OKLCH L 56.4% C 0.119 H 52.4°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AB5F2A
RGBrgb(171, 95, 42)
HSLhsl(25, 61%, 42%)
HSVhsv(25, 75%, 67%)
CMYKcmyk(0%, 44.4%, 75.4%, 32.9%)
CIE-LABlab(48.27, 26.69, 42.44)
CIE-LCHlch(48.27, 50.13, 57.84°)
OKLaboklab(56.4% 0.0725 0.0942)
OKLCHoklch(56.4% 0.119 52.4)
XYZxyz(21.3066, 17.0119, 4.3516)
Luminance0.1701 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5F2A #2A76AB
analogous
#AB2A36 #AB5F2A #ABA02A
triadic
#AB5F2A #2AAB5F #5F2AAB
tetradic
#AB5F2A #36AB2A #2A76AB #A02AAB
square
#AB5F2A #36AB2A #2A76AB #A02AAB
split-complementary
#AB5F2A #2AABA0 #2A36AB
monochromatic
#492812 #7A441E #AB5F2A #D17C42 #DD9E73

Accessibility & contrast

On white

4.77
#AB5F2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#AB5F2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB5F2A
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5F2A#FFFFFF#000000##FFFFFF
##AB5F2A1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756824
Deuteranopia (green-blind)
#877929
Tritanopia (blue-blind)
#BB4F54
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab5f2a;
/* rgb */ color: rgb(171, 95, 42);
/* oklch */ color: oklch(56.4% 0.119 52.4);
Tailwind
colors: {
  custom: {
    50: '#ca8d67',
    500: '#ab5f2a',
    950: '#000000',
  },
}
SCSS
$custom: #ab5f2a;
$custom-light: #ca8d67;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5f2a",
  "rgb": {
    "r": 171,
    "g": 95,
    "b": 42
  },
  "hsl": {
    "h": 24.651,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.56401,
    "c": 0.1189,
    "h": 52.4
  },
  "luminance": 0.1701
}

Semantic roles & 50–950 ramp

primary
#AB5F2A
secondary
#6DA0C4
accent
#A2E444
background
#FDF8F6
surface
#FAF0EB
border
#D3CBC6
text
#140C06
muted
#837D7A

Preview Lab

Preview with #AB5F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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