#BA5731#BA5731

#BA5731 is a mid, vivid orange. Relative luminance 0.175; OKLCH L 57.3% C 0.138 H 40.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#BA5731
RGBrgb(186, 87, 49)
HSLhsl(17, 58%, 46%)
HSVhsv(17, 74%, 73%)
CMYKcmyk(0%, 53.2%, 73.7%, 27.1%)
CIE-LABlab(48.86, 37.40, 40.19)
CIE-LCHlch(48.86, 54.90, 47.06°)
OKLaboklab(57.32% 0.1049 0.0901)
OKLCHoklch(57.32% 0.138 40.7)
XYZxyz(24.2146, 17.4803, 5.0040)
Luminance0.1748 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5731 #3194BA
analogous
#BA314F #BA5731 #BA9B31
triadic
#BA5731 #31BA57 #5731BA
tetradic
#BA5731 #4FBA31 #3194BA #9B31BA
square
#BA5731 #4FBA31 #3194BA #9B31BA
split-complementary
#BA5731 #31BA9B #314FBA
monochromatic
#592A17 #8A4024 #BA5731 #D27856 #DF9F86

Accessibility & contrast

On white

4.67
#BA5731 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#BA5731 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA5731
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5731#FFFFFF#000000##FFFFFF
##BA57311.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72662D
Deuteranopia (green-blind)
#8A7C2F
Tritanopia (blue-blind)
#CC424F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba5731;
/* rgb */ color: rgb(186, 87, 49);
/* oklch */ color: oklch(57.3% 0.138 40.7);
Tailwind
colors: {
  custom: {
    50: '#d5896b',
    500: '#ba5731',
    950: '#000000',
  },
}
SCSS
$custom: #ba5731;
$custom-light: #d5896b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5731",
  "rgb": {
    "r": 186,
    "g": 87,
    "b": 49
  },
  "hsl": {
    "h": 16.642,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5732,
    "c": 0.1383,
    "h": 40.7
  },
  "luminance": 0.17477
}

Semantic roles & 50–950 ramp

primary
#BA5731
secondary
#7EB4C9
accent
#B6E246
background
#FEF8F6
surface
#FCF0EB
border
#D5CBC6
text
#160C07
muted
#847D7A

Preview Lab

Preview with #BA5731

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

Preview Lab → · Contrast checker → · Palette generator →

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