#BA5F31#BA5F31

#BA5F31 is a mid, vivid orange. Relative luminance 0.188; OKLCH L 58.6% C 0.132 H 45.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#BA5F31
RGBrgb(186, 95, 49)
HSLhsl(20, 58%, 46%)
HSVhsv(20, 74%, 73%)
CMYKcmyk(0%, 48.9%, 73.7%, 27.1%)
CIE-LABlab(50.51, 33.25, 41.96)
CIE-LCHlch(50.51, 53.54, 51.61°)
OKLaboklab(58.58% 0.0922 0.094)
OKLCHoklch(58.58% 0.132 45.5)
XYZxyz(24.8986, 18.8482, 5.2320)
Luminance0.1885 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5F31 #318CBA
analogous
#BA3147 #BA5F31 #BAA331
triadic
#BA5F31 #31BA5F #5F31BA
tetradic
#BA5F31 #47BA31 #318CBA #A331BA
square
#BA5F31 #47BA31 #318CBA #A331BA
split-complementary
#BA5F31 #31BAA3 #3147BA
monochromatic
#592E17 #8A4624 #BA5F31 #D28056 #DFA486

Accessibility & contrast

On white

4.40
#BA5F31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#BA5F31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5F31
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5F31#FFFFFF#000000##000000
##BA5F311.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#786C2C
Deuteranopia (green-blind)
#8E802F
Tritanopia (blue-blind)
#CC4C55
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba5f31;
/* rgb */ color: rgb(186, 95, 49);
/* oklch */ color: oklch(58.6% 0.132 45.5);
Tailwind
colors: {
  custom: {
    50: '#d58e6b',
    500: '#ba5f31',
    950: '#000000',
  },
}
SCSS
$custom: #ba5f31;
$custom-light: #d58e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5f31",
  "rgb": {
    "r": 186,
    "g": 95,
    "b": 49
  },
  "hsl": {
    "h": 20.146,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.58579,
    "c": 0.13165,
    "h": 45.5
  },
  "luminance": 0.18845
}

Semantic roles & 50–950 ramp

primary
#BA5F31
secondary
#7EB0C9
accent
#ADE246
background
#FDF8F6
surface
#FBF0EB
border
#D4CBC6
text
#150C07
muted
#837D7A

Preview Lab

Preview with #BA5F31

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

Preview Lab → · Contrast checker → · Palette generator →

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