#BA712F#BA712F

#BA712F is a mid, vivid orange. Relative luminance 0.225; OKLCH L 61.6% C 0.122 H 59.2°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#BA712F
RGBrgb(186, 113, 47)
HSLhsl(28, 60%, 46%)
HSVhsv(28, 75%, 73%)
CMYKcmyk(0%, 39.2%, 74.7%, 27.1%)
CIE-LABlab(54.51, 23.42, 47.11)
CIE-LCHlch(54.51, 52.61, 63.56°)
OKLaboklab(61.65% 0.0624 0.1045)
OKLCHoklch(61.65% 0.122 59.2)
XYZxyz(26.6701, 22.4573, 5.6189)
Luminance0.2245 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA712F #2F78BA
analogous
#BA2F32 #BA712F #BAB62F
triadic
#BA712F #2FBA71 #712FBA
tetradic
#BA712F #32BA2F #2F78BA #B62FBA
square
#BA712F #32BA2F #2F78BA #B62FBA
split-complementary
#BA712F #2FBAB6 #2F32BA
monochromatic
#583616 #895323 #BA712F #D39053 #E0AF84

Accessibility & contrast

On white

3.82
#BA712F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#BA712F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA712F
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA712F#FFFFFF#000000##000000
##BA712F1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877827
Deuteranopia (green-blind)
#98892F
Tritanopia (blue-blind)
#CB6163
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ba712f;
/* rgb */ color: rgb(186, 113, 47);
/* oklch */ color: oklch(61.6% 0.122 59.2);
Tailwind
colors: {
  custom: {
    50: '#d49a6b',
    500: '#ba712f',
    950: '#000000',
  },
}
SCSS
$custom: #ba712f;
$custom-light: #d49a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba712f",
  "rgb": {
    "r": 186,
    "g": 113,
    "b": 47
  },
  "hsl": {
    "h": 28.489,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.61649,
    "c": 0.12172,
    "h": 59.2
  },
  "luminance": 0.22455
}

Semantic roles & 50–950 ramp

primary
#BA712F
secondary
#7CA4C9
accent
#98E345
background
#FDF9F6
surface
#FBF2EB
border
#D4CCC6
text
#150E07
muted
#837E7A

Preview Lab

Preview with #BA712F

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

Preview Lab → · Contrast checker → · Palette generator →

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