#BA542E#BA542E

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

Color values

HEX#BA542E
RGBrgb(186, 84, 46)
HSLhsl(16, 60%, 45%)
HSVhsv(16, 75%, 73%)
CMYKcmyk(0%, 54.8%, 75.3%, 27.1%)
CIE-LABlab(48.23, 38.78, 41.08)
CIE-LCHlch(48.23, 56.50, 46.65°)
OKLaboklab(56.84% 0.1086 0.0914)
OKLCHoklch(56.84% 0.142 40.1)
XYZxyz(23.9156, 16.9801, 4.6024)
Luminance0.1698 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA542E #2E94BA
analogous
#BA2E4E #BA542E #BA9A2E
triadic
#BA542E #2EBA54 #542EBA
tetradic
#BA542E #4EBA2E #2E94BA #9A2EBA
square
#BA542E #4EBA2E #2E94BA #9A2EBA
split-complementary
#BA542E #2EBA9A #2E4EBA
monochromatic
#582816 #893E22 #BA542E #D47551 #E09C82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA542E#FFFFFF#000000##FFFFFF
##BA542E1.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)
#706429
Deuteranopia (green-blind)
#897B2B
Tritanopia (blue-blind)
#CC3E4C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba542e;
/* rgb */ color: rgb(186, 84, 46);
/* oklch */ color: oklch(56.8% 0.142 40.1);
Tailwind
colors: {
  custom: {
    50: '#d68769',
    500: '#ba542e',
    950: '#000000',
  },
}
SCSS
$custom: #ba542e;
$custom-light: #d68769;
$custom-dark: #000000;
JSON
{
  "hex": "#ba542e",
  "rgb": {
    "r": 186,
    "g": 84,
    "b": 46
  },
  "hsl": {
    "h": 16.286,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56835,
    "c": 0.14192,
    "h": 40.1
  },
  "luminance": 0.16977
}

Semantic roles & 50–950 ramp

primary
#BA542E
secondary
#7BB4C9
accent
#B8E344
background
#FEF8F6
surface
#FCF0EB
border
#D5CBC6
text
#160B06
muted
#847C7A

Preview Lab

Preview with #BA542E

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

Preview Lab → · Contrast checker → · Palette generator →

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