#BA6F27#BA6F27

#BA6F27 is a mid, vivid orange. Relative luminance 0.220; OKLCH L 61.2% C 0.126 H 59.8°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#BA6F27
RGBrgb(186, 111, 39)
HSLhsl(29, 65%, 44%)
HSVhsv(29, 79%, 73%)
CMYKcmyk(0%, 40.3%, 79%, 27.1%)
CIE-LABlab(53.98, 24.18, 50.14)
CIE-LCHlch(53.98, 55.67, 64.25°)
OKLaboklab(61.22% 0.0635 0.1091)
OKLCHoklch(61.22% 0.126 59.8)
XYZxyz(26.3026, 21.9572, 4.7721)
Luminance0.2195 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6F27 #2772BA
analogous
#BA2729 #BA6F27 #BAB927
triadic
#BA6F27 #27BA6F #6F27BA
tetradic
#BA6F27 #29BA27 #2772BA #B927BA
square
#BA6F27 #29BA27 #2772BA #B927BA
split-complementary
#BA6F27 #27BAB9 #2729BA
monochromatic
#553312 #87511C #BA6F27 #D88E46 #E3AD79

Accessibility & contrast

On white

3.90
#BA6F27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#BA6F27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6F27
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6F27#FFFFFF#000000##000000
##BA6F271.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#86771C
Deuteranopia (green-blind)
#988827
Tritanopia (blue-blind)
#CC5E61
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ba6f27;
/* rgb */ color: rgb(186, 111, 39);
/* oklch */ color: oklch(61.2% 0.126 59.8);
Tailwind
colors: {
  custom: {
    50: '#d59866',
    500: '#ba6f27',
    950: '#000000',
  },
}
SCSS
$custom: #ba6f27;
$custom-light: #d59866;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6f27",
  "rgb": {
    "r": 186,
    "g": 111,
    "b": 39
  },
  "hsl": {
    "h": 29.388,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.61222,
    "c": 0.12626,
    "h": 59.8
  },
  "luminance": 0.21954
}

Semantic roles & 50–950 ramp

primary
#BA6F27
secondary
#729FCB
accent
#96E840
background
#FDF9F6
surface
#FBF2EB
border
#D4CCC6
text
#150E06
muted
#837E7A

Preview Lab

Preview with #BA6F27

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

Preview Lab → · Contrast checker → · Palette generator →

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