#AB5227#AB5227

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

Color values

HEX#AB5227
RGBrgb(171, 82, 39)
HSLhsl(20, 63%, 41%)
HSVhsv(20, 77%, 67%)
CMYKcmyk(0%, 52%, 77.2%, 32.9%)
CIE-LABlab(45.42, 33.56, 40.99)
CIE-LCHlch(45.42, 52.97, 50.69°)
OKLaboklab(54.2% 0.0928 0.0904)
OKLCHoklch(54.2% 0.13 44.2)
XYZxyz(20.1801, 14.8415, 3.7211)
Luminance0.1484 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5227 #2780AB
analogous
#AB273E #AB5227 #AB9427
triadic
#AB5227 #27AB52 #5227AB
tetradic
#AB5227 #3EAB27 #2780AB #9427AB
square
#AB5227 #3EAB27 #2780AB #9427AB
split-complementary
#AB5227 #27AB94 #273EAB
monochromatic
#472210 #793A1C #AB5227 #D36D3D #DE936E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB5227#FFFFFF#000000##FFFFFF
##AB52271.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)
#6B5F22
Deuteranopia (green-blind)
#807325
Tritanopia (blue-blind)
#BC3F49
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab5227;
/* rgb */ color: rgb(171, 82, 39);
/* oklch */ color: oklch(54.2% 0.130 44.2);
Tailwind
colors: {
  custom: {
    50: '#cb8464',
    500: '#ab5227',
    950: '#000000',
  },
}
SCSS
$custom: #ab5227;
$custom-light: #cb8464;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5227",
  "rgb": {
    "r": 171,
    "g": 82,
    "b": 39
  },
  "hsl": {
    "h": 19.545,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.54202,
    "c": 0.12952,
    "h": 44.2
  },
  "luminance": 0.14839
}

Semantic roles & 50–950 ramp

primary
#AB5227
secondary
#69A7C5
accent
#B0E642
background
#FDF8F6
surface
#FAEFEB
border
#D3CAC6
text
#150B05
muted
#837C7A

Preview Lab

Preview with #AB5227

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

Preview Lab → · Contrast checker → · Palette generator →

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