#BA5A31#BA5A31

#BA5A31 is a mid, vivid orange. Relative luminance 0.180; OKLCH L 57.8% C 0.136 H 42.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#BA5A31
RGBrgb(186, 90, 49)
HSLhsl(18, 58%, 46%)
HSVhsv(18, 74%, 73%)
CMYKcmyk(0%, 51.6%, 73.7%, 27.1%)
CIE-LABlab(49.47, 35.86, 40.84)
CIE-LCHlch(49.47, 54.35, 48.72°)
OKLaboklab(57.78% 0.1002 0.0916)
OKLCHoklch(57.78% 0.136 42.4)
XYZxyz(24.4626, 17.9762, 5.0867)
Luminance0.1797 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5A31 #3191BA
analogous
#BA314C #BA5A31 #BA9E31
triadic
#BA5A31 #31BA5A #5A31BA
tetradic
#BA5A31 #4CBA31 #3191BA #9E31BA
square
#BA5A31 #4CBA31 #3191BA #9E31BA
split-complementary
#BA5A31 #31BA9E #314CBA
monochromatic
#592B17 #8A4324 #BA5A31 #D27B56 #DFA186

Accessibility & contrast

On white

4.57
#BA5A31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#BA5A31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5A31
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5A31#FFFFFF#000000##000000
##BA5A311.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba5a31;
/* rgb */ color: rgb(186, 90, 49);
/* oklch */ color: oklch(57.8% 0.136 42.4);
Tailwind
colors: {
  custom: {
    50: '#d58b6b',
    500: '#ba5a31',
    950: '#000000',
  },
}
SCSS
$custom: #ba5a31;
$custom-light: #d58b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5a31",
  "rgb": {
    "r": 186,
    "g": 90,
    "b": 49
  },
  "hsl": {
    "h": 17.956,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57783,
    "c": 0.13571,
    "h": 42.4
  },
  "luminance": 0.17973
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA5A31

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

Preview Lab → · Contrast checker → · Palette generator →

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