#AB5231#AB5231

#AB5231 is a mid, vivid orange. Relative luminance 0.149; OKLCH L 54.3% C 0.126 H 40.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#AB5231
RGBrgb(171, 82, 49)
HSLhsl(16, 55%, 43%)
HSVhsv(16, 71%, 67%)
CMYKcmyk(0%, 52%, 71.3%, 32.9%)
CIE-LABlab(45.52, 34.04, 35.85)
CIE-LCHlch(45.52, 49.44, 46.49°)
OKLaboklab(54.31% 0.096 0.0816)
OKLCHoklch(54.31% 0.126 40.3)
XYZxyz(20.3682, 14.9168, 4.7118)
Luminance0.1491 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5231 #318AAB
analogous
#AB314D #AB5231 #AB8F31
triadic
#AB5231 #31AB52 #5231AB
tetradic
#AB5231 #4DAB31 #318AAB #8F31AB
square
#AB5231 #4DAB31 #318AAB #8F31AB
split-complementary
#AB5231 #31AB8F #314DAB
monochromatic
#4C2416 #7B3B23 #AB5231 #CC6F4D #DA967D

Accessibility & contrast

On white

5.27
#AB5231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#AB5231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB5231
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5231#FFFFFF#000000##FFFFFF
##AB52311.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A602D
Deuteranopia (green-blind)
#80732F
Tritanopia (blue-blind)
#BB404B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab5231;
/* rgb */ color: rgb(171, 82, 49);
/* oklch */ color: oklch(54.3% 0.126 40.3);
Tailwind
colors: {
  custom: {
    50: '#ca846a',
    500: '#ab5231',
    950: '#000000',
  },
}
SCSS
$custom: #ab5231;
$custom-light: #ca846a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5231",
  "rgb": {
    "r": 171,
    "g": 82,
    "b": 49
  },
  "hsl": {
    "h": 16.23,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54314,
    "c": 0.12598,
    "h": 40.3
  },
  "luminance": 0.14914
}

Semantic roles & 50–950 ramp

primary
#AB5231
secondary
#75AEC2
accent
#B6DF49
background
#FDF8F6
surface
#FAEFEB
border
#D3CAC6
text
#140B06
muted
#837C7A

Preview Lab

Preview with #AB5231

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

Preview Lab → · Contrast checker → · Palette generator →

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