#BA542F#BA542F

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

Color values

HEX#BA542F
RGBrgb(186, 84, 47)
HSLhsl(16, 60%, 46%)
HSVhsv(16, 75%, 73%)
CMYKcmyk(0%, 54.8%, 74.7%, 27.1%)
CIE-LABlab(48.24, 38.83, 40.57)
CIE-LCHlch(48.24, 56.16, 46.26°)
OKLaboklab(56.85% 0.1089 0.0905)
OKLCHoklch(56.85% 0.142 39.7)
XYZxyz(23.9355, 16.9881, 4.7074)
Luminance0.1699 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA542F #2F95BA
analogous
#BA2F4F #BA542F #BA992F
triadic
#BA542F #2FBA54 #542FBA
tetradic
#BA542F #4FBA2F #2F95BA #992FBA
square
#BA542F #4FBA2F #2F95BA #992FBA
split-complementary
#BA542F #2FBA99 #2F4FBA
monochromatic
#582816 #893E23 #BA542F #D37553 #E09C84

Accessibility & contrast

On white

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

On black

4.40
#BA542F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA542F#FFFFFF#000000##FFFFFF
##BA542F1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70642B
Deuteranopia (green-blind)
#897B2C
Tritanopia (blue-blind)
#CC3E4C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba542f;
/* rgb */ color: rgb(186, 84, 47);
/* oklch */ color: oklch(56.8% 0.142 39.7);
Tailwind
colors: {
  custom: {
    50: '#d68769',
    500: '#ba542f',
    950: '#000000',
  },
}
SCSS
$custom: #ba542f;
$custom-light: #d68769;
$custom-dark: #000000;
JSON
{
  "hex": "#ba542f",
  "rgb": {
    "r": 186,
    "g": 84,
    "b": 47
  },
  "hsl": {
    "h": 15.971,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56846,
    "c": 0.1416,
    "h": 39.7
  },
  "luminance": 0.16985
}

Semantic roles & 50–950 ramp

primary
#BA542F
secondary
#7CB4C9
accent
#B9E345
background
#FEF8F6
surface
#FCF0EB
border
#D5CBC6
text
#160B06
muted
#847C7A

Preview Lab

Preview with #BA542F

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

Preview Lab → · Contrast checker → · Palette generator →

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