#BA5831#BA5831

#BA5831 is a mid, vivid orange. Relative luminance 0.176; OKLCH L 57.5% C 0.137 H 41.2°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#BA5831
RGBrgb(186, 88, 49)
HSLhsl(17, 58%, 46%)
HSVhsv(17, 74%, 73%)
CMYKcmyk(0%, 52.7%, 73.7%, 27.1%)
CIE-LABlab(49.06, 36.89, 40.40)
CIE-LCHlch(49.06, 54.71, 47.60°)
OKLaboklab(57.47% 0.1033 0.0906)
OKLCHoklch(57.47% 0.137 41.2)
XYZxyz(24.2961, 17.6433, 5.0312)
Luminance0.1764 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5831 #3193BA
analogous
#BA314E #BA5831 #BA9C31
triadic
#BA5831 #31BA58 #5831BA
tetradic
#BA5831 #4EBA31 #3193BA #9C31BA
square
#BA5831 #4EBA31 #3193BA #9C31BA
split-complementary
#BA5831 #31BA9C #314EBA
monochromatic
#592A17 #8A4124 #BA5831 #D27956 #DFA086

Accessibility & contrast

On white

4.64
#BA5831 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#BA5831 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA5831
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5831#FFFFFF#000000##FFFFFF
##BA58311.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73672C
Deuteranopia (green-blind)
#8B7D2F
Tritanopia (blue-blind)
#CC434F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba5831;
/* rgb */ color: rgb(186, 88, 49);
/* oklch */ color: oklch(57.5% 0.137 41.2);
Tailwind
colors: {
  custom: {
    50: '#d5896b',
    500: '#ba5831',
    950: '#000000',
  },
}
SCSS
$custom: #ba5831;
$custom-light: #d5896b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5831",
  "rgb": {
    "r": 186,
    "g": 88,
    "b": 49
  },
  "hsl": {
    "h": 17.08,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57473,
    "c": 0.13742,
    "h": 41.2
  },
  "luminance": 0.1764
}

Semantic roles & 50–950 ramp

primary
#BA5831
secondary
#7EB3C9
accent
#B5E246
background
#FEF8F6
surface
#FCF0EB
border
#D5CBC6
text
#160C07
muted
#847D7A

Preview Lab

Preview with #BA5831

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

Preview Lab → · Contrast checker → · Palette generator →

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