#BA542A#BA542A

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

Color values

HEX#BA542A
RGBrgb(186, 84, 42)
HSLhsl(18, 63%, 45%)
HSVhsv(18, 77%, 73%)
CMYKcmyk(0%, 54.8%, 77.4%, 27.1%)
CIE-LABlab(48.20, 38.62, 43.07)
CIE-LCHlch(48.20, 57.85, 48.12°)
OKLaboklab(56.79% 0.1074 0.0947)
OKLCHoklch(56.79% 0.143 41.4)
XYZxyz(23.8404, 16.9500, 4.2063)
Luminance0.1695 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA542A #2A90BA
analogous
#BA2A48 #BA542A #BA9C2A
triadic
#BA542A #2ABA54 #542ABA
tetradic
#BA542A #48BA2A #2A90BA #9C2ABA
square
#BA542A #48BA2A #2A90BA #9C2ABA
split-complementary
#BA542A #2ABA9C #2A48BA
monochromatic
#562713 #883D1F #BA542A #D6744B #E29A7D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA542A#FFFFFF#000000##FFFFFF
##BA542A1.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)
#706425
Deuteranopia (green-blind)
#897B27
Tritanopia (blue-blind)
#CC3E4B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba542a;
/* rgb */ color: rgb(186, 84, 42);
/* oklch */ color: oklch(56.8% 0.143 41.4);
Tailwind
colors: {
  custom: {
    50: '#d68766',
    500: '#ba542a',
    950: '#000000',
  },
}
SCSS
$custom: #ba542a;
$custom-light: #d68766;
$custom-dark: #000000;
JSON
{
  "hex": "#ba542a",
  "rgb": {
    "r": 186,
    "g": 84,
    "b": 42
  },
  "hsl": {
    "h": 17.5,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56794,
    "c": 0.14315,
    "h": 41.4
  },
  "luminance": 0.16947
}

Semantic roles & 50–950 ramp

primary
#BA542A
secondary
#76B1CA
accent
#B6E642
background
#FEF8F6
surface
#FCF0EB
border
#D5CBC6
text
#160B06
muted
#847C7A

Preview Lab

Preview with #BA542A

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

Preview Lab → · Contrast checker → · Palette generator →

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