#AB5F28#AB5F28

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

Color values

HEX#AB5F28
RGBrgb(171, 95, 40)
HSLhsl(25, 62%, 41%)
HSVhsv(25, 77%, 67%)
CMYKcmyk(0%, 44.4%, 76.6%, 32.9%)
CIE-LABlab(48.26, 26.60, 43.39)
CIE-LCHlch(48.26, 50.89, 58.49°)
OKLaboklab(56.38% 0.0719 0.0958)
OKLCHoklch(56.38% 0.12 53.1)
XYZxyz(21.2717, 16.9979, 4.1678)
Luminance0.1700 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5F28 #2874AB
analogous
#AB2833 #AB5F28 #ABA128
triadic
#AB5F28 #28AB5F #5F28AB
tetradic
#AB5F28 #33AB28 #2874AB #A128AB
square
#AB5F28 #33AB28 #2874AB #A128AB
split-complementary
#AB5F28 #28ABA1 #2833AB
monochromatic
#482811 #79431C #AB5F28 #D27C3E #DE9E70

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB5F28#FFFFFF#000000##FFFFFF
##AB5F281.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)
#756821
Deuteranopia (green-blind)
#877927
Tritanopia (blue-blind)
#BB4F53
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab5f28;
/* rgb */ color: rgb(171, 95, 40);
/* oklch */ color: oklch(56.4% 0.120 53.1);
Tailwind
colors: {
  custom: {
    50: '#ca8d65',
    500: '#ab5f28',
    950: '#000000',
  },
}
SCSS
$custom: #ab5f28;
$custom-light: #ca8d65;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5f28",
  "rgb": {
    "r": 171,
    "g": 95,
    "b": 40
  },
  "hsl": {
    "h": 25.191,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.56381,
    "c": 0.11978,
    "h": 53.1
  },
  "luminance": 0.16996
}

Semantic roles & 50–950 ramp

primary
#AB5F28
secondary
#6A9FC4
accent
#A1E543
background
#FDF8F6
surface
#FAF0EB
border
#D3CBC6
text
#140C06
muted
#837D7A

Preview Lab

Preview with #AB5F28

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

Preview Lab → · Contrast checker → · Palette generator →

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