#AB5838#AB5838

#AB5838 is a mid, moderate orange. Relative luminance 0.159; OKLCH L 55.4% C 0.118 H 41.2°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#AB5838
RGBrgb(171, 88, 56)
HSLhsl(17, 51%, 45%)
HSVhsv(17, 67%, 67%)
CMYKcmyk(0%, 48.5%, 67.3%, 32.9%)
CIE-LABlab(46.88, 31.25, 33.55)
CIE-LCHlch(46.88, 45.85, 47.03°)
OKLaboklab(55.38% 0.0888 0.0778)
OKLCHoklch(55.38% 0.118 41.2)
XYZxyz(20.9999, 15.9253, 5.7086)
Luminance0.1592 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5838 #388BAB
analogous
#AB3851 #AB5838 #AB9238
triadic
#AB5838 #38AB58 #5838AB
tetradic
#AB5838 #51AB38 #388BAB #9238AB
square
#AB5838 #51AB38 #388BAB #9238AB
split-complementary
#AB5838 #38AB92 #3851AB
monochromatic
#4F291A #7D4029 #AB5838 #C87758 #D79D86

Accessibility & contrast

On white

5.02
#AB5838 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#AB5838 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB5838
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5838#FFFFFF#000000##FFFFFF
##AB58381.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6435
Deuteranopia (green-blind)
#827637
Tritanopia (blue-blind)
#BB4851
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab5838;
/* rgb */ color: rgb(171, 88, 56);
/* oklch */ color: oklch(55.4% 0.118 41.2);
Tailwind
colors: {
  custom: {
    50: '#c9886f',
    500: '#ab5838',
    950: '#000000',
  },
}
SCSS
$custom: #ab5838;
$custom-light: #c9886f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5838",
  "rgb": {
    "r": 171,
    "g": 88,
    "b": 56
  },
  "hsl": {
    "h": 16.696,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55377,
    "c": 0.118,
    "h": 41.2
  },
  "luminance": 0.15923
}

Semantic roles & 50–950 ramp

primary
#AB5838
secondary
#7DAEC1
accent
#B3DA4E
background
#FDF8F6
surface
#FAF0EC
border
#D3CBC7
text
#140B07
muted
#837C7A

Preview Lab

Preview with #AB5838

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

Preview Lab → · Contrast checker → · Palette generator →

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