#AB5228#AB5228

#AB5228 is a mid, vivid orange. Relative luminance 0.148; OKLCH L 54.2% C 0.129 H 43.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#AB5228
RGBrgb(171, 82, 40)
HSLhsl(19, 62%, 41%)
HSVhsv(19, 77%, 67%)
CMYKcmyk(0%, 52%, 76.6%, 32.9%)
CIE-LABlab(45.43, 33.60, 40.49)
CIE-LCHlch(45.43, 52.62, 50.31°)
OKLaboklab(54.21% 0.0931 0.0896)
OKLCHoklch(54.21% 0.129 43.9)
XYZxyz(20.1968, 14.8482, 3.8095)
Luminance0.1485 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5228 #2881AB
analogous
#AB2840 #AB5228 #AB9428
triadic
#AB5228 #28AB52 #5228AB
tetradic
#AB5228 #40AB28 #2881AB #9428AB
square
#AB5228 #40AB28 #2881AB #9428AB
split-complementary
#AB5228 #28AB94 #2840AB
monochromatic
#482211 #793A1C #AB5228 #D26E3E #DE9370

Accessibility & contrast

On white

5.29
#AB5228 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#AB5228 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB5228
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5228#FFFFFF#000000##FFFFFF
##AB52281.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F23
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#BC3F49
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab5228;
/* rgb */ color: rgb(171, 82, 40);
/* oklch */ color: oklch(54.2% 0.129 43.9);
Tailwind
colors: {
  custom: {
    50: '#cb8464',
    500: '#ab5228',
    950: '#000000',
  },
}
SCSS
$custom: #ab5228;
$custom-light: #cb8464;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5228",
  "rgb": {
    "r": 171,
    "g": 82,
    "b": 40
  },
  "hsl": {
    "h": 19.237,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.54212,
    "c": 0.12918,
    "h": 43.9
  },
  "luminance": 0.14846
}

Semantic roles & 50–950 ramp

primary
#AB5228
secondary
#6AA8C4
accent
#B1E543
background
#FDF8F6
surface
#FAEFEB
border
#D3CAC6
text
#150B05
muted
#837C7A

Preview Lab

Preview with #AB5228

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

Preview Lab → · Contrast checker → · Palette generator →

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