#BA522B#BA522B

#BA522B is a mid, vivid orange. Relative luminance 0.166; OKLCH L 56.5% C 0.145 H 40.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#BA522B
RGBrgb(186, 82, 43)
HSLhsl(16, 62%, 45%)
HSVhsv(16, 77%, 73%)
CMYKcmyk(0%, 55.9%, 76.9%, 27.1%)
CIE-LABlab(47.82, 39.66, 42.18)
CIE-LCHlch(47.82, 57.90, 46.77°)
OKLaboklab(56.51% 0.1107 0.093)
OKLCHoklch(56.51% 0.145 40)
XYZxyz(23.7055, 16.6512, 4.2507)
Luminance0.1665 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA522B #2B93BA
analogous
#BA2B4B #BA522B #BA9A2B
triadic
#BA522B #2BBA52 #522BBA
tetradic
#BA522B #4BBA2B #2B93BA #9A2BBA
square
#BA522B #4BBA2B #2B93BA #9A2BBA
split-complementary
#BA522B #2BBA9A #2B4BBA
monochromatic
#572614 #883C20 #BA522B #D6724C #E1997E

Accessibility & contrast

On white

4.85
#BA522B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#BA522B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA522B
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA522B#FFFFFF#000000##FFFFFF
##BA522B1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6326
Deuteranopia (green-blind)
#887A28
Tritanopia (blue-blind)
#CC3B4A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba522b;
/* rgb */ color: rgb(186, 82, 43);
/* oklch */ color: oklch(56.5% 0.145 40.0);
Tailwind
colors: {
  custom: {
    50: '#d68567',
    500: '#ba522b',
    950: '#000000',
  },
}
SCSS
$custom: #ba522b;
$custom-light: #d68567;
$custom-dark: #000000;
JSON
{
  "hex": "#ba522b",
  "rgb": {
    "r": 186,
    "g": 82,
    "b": 43
  },
  "hsl": {
    "h": 16.364,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.56508,
    "c": 0.14461,
    "h": 40
  },
  "luminance": 0.16648
}

Semantic roles & 50–950 ramp

primary
#BA522B
secondary
#77B3CA
accent
#B9E642
background
#FEF8F6
surface
#FCEFEB
border
#D5CAC6
text
#160B06
muted
#847C7A

Preview Lab

Preview with #BA522B

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

Preview Lab → · Contrast checker → · Palette generator →

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