#BA5B31#BA5B31

#BA5B31 is a mid, vivid orange. Relative luminance 0.181; OKLCH L 57.9% C 0.135 H 43.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#BA5B31
RGBrgb(186, 91, 49)
HSLhsl(18, 58%, 46%)
HSVhsv(18, 74%, 73%)
CMYKcmyk(0%, 51.1%, 73.7%, 27.1%)
CIE-LABlab(49.67, 35.34, 41.06)
CIE-LCHlch(49.67, 54.18, 49.28°)
OKLaboklab(57.94% 0.0986 0.092)
OKLCHoklch(57.94% 0.135 43)
XYZxyz(24.5475, 18.1460, 5.1150)
Luminance0.1814 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5B31 #3190BA
analogous
#BA314B #BA5B31 #BA9F31
triadic
#BA5B31 #31BA5B #5B31BA
tetradic
#BA5B31 #4BBA31 #3190BA #9F31BA
square
#BA5B31 #4BBA31 #3190BA #9F31BA
split-complementary
#BA5B31 #31BA9F #314BBA
monochromatic
#592C17 #8A4324 #BA5B31 #D27C56 #DFA186

Accessibility & contrast

On white

4.54
#BA5B31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#BA5B31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5B31
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5B31#FFFFFF#000000##000000
##BA5B311.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#75692C
Deuteranopia (green-blind)
#8C7E2F
Tritanopia (blue-blind)
#CC4752
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba5b31;
/* rgb */ color: rgb(186, 91, 49);
/* oklch */ color: oklch(57.9% 0.135 43.0);
Tailwind
colors: {
  custom: {
    50: '#d58b6b',
    500: '#ba5b31',
    950: '#000000',
  },
}
SCSS
$custom: #ba5b31;
$custom-light: #d58b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5b31",
  "rgb": {
    "r": 186,
    "g": 91,
    "b": 49
  },
  "hsl": {
    "h": 18.394,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5794,
    "c": 0.13487,
    "h": 43
  },
  "luminance": 0.18143
}

Semantic roles & 50–950 ramp

primary
#BA5B31
secondary
#7EB2C9
accent
#B2E246
background
#FEF8F6
surface
#FCF0EB
border
#D5CBC6
text
#160C07
muted
#847D7A

Preview Lab

Preview with #BA5B31

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

Preview Lab → · Contrast checker → · Palette generator →

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