#BA7127#BA7127

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

Color values

HEX#BA7127
RGBrgb(186, 113, 39)
HSLhsl(30, 65%, 44%)
HSVhsv(30, 79%, 73%)
CMYKcmyk(0%, 39.2%, 79%, 27.1%)
CIE-LABlab(54.45, 23.09, 50.59)
CIE-LCHlch(54.45, 55.60, 65.47°)
OKLaboklab(61.58% 0.0602 0.1101)
OKLCHoklch(61.58% 0.125 61.3)
XYZxyz(26.5233, 22.3986, 4.8456)
Luminance0.2240 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7127 #2770BA
analogous
#BA2827 #BA7127 #BABA27
triadic
#BA7127 #27BA71 #7127BA
tetradic
#BA7127 #27BA28 #2770BA #BA27BA
square
#BA7127 #27BA28 #2770BA #BA27BA
split-complementary
#BA7127 #27BABA #2827BA
monochromatic
#553412 #87521C #BA7127 #D89046 #E3AE79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA7127#FFFFFF#000000##000000
##BA71271.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)
#88781C
Deuteranopia (green-blind)
#998928
Tritanopia (blue-blind)
#CB6062
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ba7127;
/* rgb */ color: rgb(186, 113, 39);
/* oklch */ color: oklch(61.6% 0.125 61.3);
Tailwind
colors: {
  custom: {
    50: '#d59a67',
    500: '#ba7127',
    950: '#000000',
  },
}
SCSS
$custom: #ba7127;
$custom-light: #d59a67;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7127",
  "rgb": {
    "r": 186,
    "g": 113,
    "b": 39
  },
  "hsl": {
    "h": 30.204,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.61582,
    "c": 0.12549,
    "h": 61.3
  },
  "luminance": 0.22396
}

Semantic roles & 50–950 ramp

primary
#BA7127
secondary
#729ECB
accent
#93E840
background
#FDF9F6
surface
#FBF2EB
border
#D4CCC6
text
#150E06
muted
#837E7A

Preview Lab

Preview with #BA7127

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

Preview Lab → · Contrast checker → · Palette generator →

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