#BA542C#BA542C

#BA542C is a mid, vivid orange. Relative luminance 0.170; OKLCH L 56.8% C 0.143 H 40.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#BA542C
RGBrgb(186, 84, 44)
HSLhsl(17, 62%, 45%)
HSVhsv(17, 76%, 73%)
CMYKcmyk(0%, 54.8%, 76.3%, 27.1%)
CIE-LABlab(48.22, 38.70, 42.09)
CIE-LCHlch(48.22, 57.17, 47.40°)
OKLaboklab(56.81% 0.108 0.093)
OKLCHoklch(56.81% 0.143 40.8)
XYZxyz(23.8770, 16.9647, 4.3996)
Luminance0.1696 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA542C #2C92BA
analogous
#BA2C4B #BA542C #BA9B2C
triadic
#BA542C #2CBA54 #542CBA
tetradic
#BA542C #4BBA2C #2C92BA #9B2CBA
square
#BA542C #4BBA2C #2C92BA #9B2CBA
split-complementary
#BA542C #2CBA9B #2C4BBA
monochromatic
#572715 #893E20 #BA542C #D5744E #E19B80

Accessibility & contrast

On white

4.78
#BA542C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#BA542C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA542C
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA542C#FFFFFF#000000##FFFFFF
##BA542C1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706427
Deuteranopia (green-blind)
#897B29
Tritanopia (blue-blind)
#CC3E4B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba542c;
/* rgb */ color: rgb(186, 84, 44);
/* oklch */ color: oklch(56.8% 0.143 40.8);
Tailwind
colors: {
  custom: {
    50: '#d68767',
    500: '#ba542c',
    950: '#000000',
  },
}
SCSS
$custom: #ba542c;
$custom-light: #d68767;
$custom-dark: #000000;
JSON
{
  "hex": "#ba542c",
  "rgb": {
    "r": 186,
    "g": 84,
    "b": 44
  },
  "hsl": {
    "h": 16.901,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.56814,
    "c": 0.14253,
    "h": 40.8
  },
  "luminance": 0.16962
}

Semantic roles & 50–950 ramp

primary
#BA542C
secondary
#78B3CA
accent
#B7E543
background
#FEF8F6
surface
#FCF0EB
border
#D5CBC6
text
#160B06
muted
#847C7A

Preview Lab

Preview with #BA542C

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

Preview Lab → · Contrast checker → · Palette generator →

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