#BA6A27#BA6A27

#BA6A27 is a mid, vivid orange. Relative luminance 0.209; OKLCH L 60.3% C 0.129 H 56.2°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#BA6A27
RGBrgb(186, 106, 39)
HSLhsl(27, 65%, 44%)
HSVhsv(27, 79%, 73%)
CMYKcmyk(0%, 43%, 79%, 27.1%)
CIE-LABlab(52.84, 26.92, 49.05)
CIE-LCHlch(52.84, 55.95, 61.24°)
OKLaboklab(60.34% 0.0716 0.1068)
OKLCHoklch(60.34% 0.129 56.2)
XYZxyz(25.7722, 20.8965, 4.5953)
Luminance0.2089 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6A27 #2777BA
analogous
#BA272E #BA6A27 #BAB427
triadic
#BA6A27 #27BA6A #6A27BA
tetradic
#BA6A27 #2EBA27 #2777BA #B427BA
square
#BA6A27 #2EBA27 #2777BA #B427BA
split-complementary
#BA6A27 #27BAB4 #272EBA
monochromatic
#553012 #874D1C #BA6A27 #D88946 #E3A979

Accessibility & contrast

On white

4.05
#BA6A27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#BA6A27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6A27
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6A27#FFFFFF#000000##000000
##BA6A271.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#82731D
Deuteranopia (green-blind)
#958527
Tritanopia (blue-blind)
#CC585C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ba6a27;
/* rgb */ color: rgb(186, 106, 39);
/* oklch */ color: oklch(60.3% 0.129 56.2);
Tailwind
colors: {
  custom: {
    50: '#d59566',
    500: '#ba6a27',
    950: '#000000',
  },
}
SCSS
$custom: #ba6a27;
$custom-light: #d59566;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6a27",
  "rgb": {
    "r": 186,
    "g": 106,
    "b": 39
  },
  "hsl": {
    "h": 27.347,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.60338,
    "c": 0.12856,
    "h": 56.2
  },
  "luminance": 0.20894
}

Semantic roles & 50–950 ramp

primary
#BA6A27
secondary
#72A2CB
accent
#9BE840
background
#FDF9F6
surface
#FBF1EB
border
#D4CBC6
text
#150D06
muted
#837E7A

Preview Lab

Preview with #BA6A27

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

Preview Lab → · Contrast checker → · Palette generator →

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