#BA712B#BA712B

#BA712B is a mid, vivid orange. Relative luminance 0.224; OKLCH L 61.6% C 0.124 H 60.3°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#BA712B
RGBrgb(186, 113, 43)
HSLhsl(29, 62%, 45%)
HSVhsv(29, 77%, 73%)
CMYKcmyk(0%, 39.2%, 76.9%, 27.1%)
CIE-LABlab(54.48, 23.25, 48.89)
CIE-LCHlch(54.48, 54.13, 64.57°)
OKLaboklab(61.61% 0.0613 0.1074)
OKLCHoklch(61.61% 0.124 60.3)
XYZxyz(26.5931, 22.4265, 5.2133)
Luminance0.2242 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA712B #2B74BA
analogous
#BA2B2C #BA712B #BAB92B
triadic
#BA712B #2BBA71 #712BBA
tetradic
#BA712B #2CBA2B #2B74BA #B92BBA
square
#BA712B #2CBA2B #2B74BA #B92BBA
split-complementary
#BA712B #2BBAB9 #2B2CBA
monochromatic
#573514 #885320 #BA712B #D6904C #E1AF7E

Accessibility & contrast

On white

3.83
#BA712B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#BA712B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA712B
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA712B#FFFFFF#000000##000000
##BA712B1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#877821
Deuteranopia (green-blind)
#99892C
Tritanopia (blue-blind)
#CB6163
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ba712b;
/* rgb */ color: rgb(186, 113, 43);
/* oklch */ color: oklch(61.6% 0.124 60.3);
Tailwind
colors: {
  custom: {
    50: '#d49a69',
    500: '#ba712b',
    950: '#000000',
  },
}
SCSS
$custom: #ba712b;
$custom-light: #d49a69;
$custom-dark: #000000;
JSON
{
  "hex": "#ba712b",
  "rgb": {
    "r": 186,
    "g": 113,
    "b": 43
  },
  "hsl": {
    "h": 29.371,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.61614,
    "c": 0.12366,
    "h": 60.3
  },
  "luminance": 0.22424
}

Semantic roles & 50–950 ramp

primary
#BA712B
secondary
#77A1CA
accent
#96E642
background
#FDF9F6
surface
#FBF2EB
border
#D4CCC6
text
#150E06
muted
#837E7A

Preview Lab

Preview with #BA712B

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

Preview Lab → · Contrast checker → · Palette generator →

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