#AB5226#AB5226

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

Color values

HEX#AB5226
RGBrgb(171, 82, 38)
HSLhsl(20, 64%, 41%)
HSVhsv(20, 78%, 67%)
CMYKcmyk(0%, 52%, 77.8%, 32.9%)
CIE-LABlab(45.41, 33.52, 41.48)
CIE-LCHlch(45.41, 53.33, 51.06°)
OKLaboklab(54.19% 0.0925 0.0912)
OKLCHoklch(54.19% 0.13 44.6)
XYZxyz(20.1637, 14.8350, 3.6350)
Luminance0.1483 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5226 #267FAB
analogous
#AB263C #AB5226 #AB9426
triadic
#AB5226 #26AB52 #5226AB
tetradic
#AB5226 #3CAB26 #267FAB #9426AB
square
#AB5226 #3CAB26 #267FAB #9426AB
split-complementary
#AB5226 #26AB94 #263CAB
monochromatic
#472210 #793A1B #AB5226 #D36D3B #DF926D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB5226#FFFFFF#000000##FFFFFF
##AB52261.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)
#6B5F20
Deuteranopia (green-blind)
#817324
Tritanopia (blue-blind)
#BC3F49
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab5226;
/* rgb */ color: rgb(171, 82, 38);
/* oklch */ color: oklch(54.2% 0.130 44.6);
Tailwind
colors: {
  custom: {
    50: '#cb8463',
    500: '#ab5226',
    950: '#000000',
  },
}
SCSS
$custom: #ab5226;
$custom-light: #cb8463;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5226",
  "rgb": {
    "r": 171,
    "g": 82,
    "b": 38
  },
  "hsl": {
    "h": 19.85,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.54192,
    "c": 0.12988,
    "h": 44.6
  },
  "luminance": 0.14832
}

Semantic roles & 50–950 ramp

primary
#AB5226
secondary
#68A6C5
accent
#B0E741
background
#FDF8F6
surface
#FAEFEB
border
#D3CAC6
text
#150B05
muted
#837C7A

Preview Lab

Preview with #AB5226

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

Preview Lab → · Contrast checker → · Palette generator →

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