#BA512B#BA512B

#BA512B is a mid, vivid orange. Relative luminance 0.165; OKLCH L 56.4% C 0.145 H 39.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#BA512B
RGBrgb(186, 81, 43)
HSLhsl(16, 62%, 45%)
HSVhsv(16, 77%, 73%)
CMYKcmyk(0%, 56.5%, 76.9%, 27.1%)
CIE-LABlab(47.63, 40.15, 41.99)
CIE-LCHlch(47.63, 58.09, 46.28°)
OKLaboklab(56.36% 0.1122 0.0926)
OKLCHoklch(56.36% 0.146 39.5)
XYZxyz(23.6306, 16.5015, 4.2258)
Luminance0.1650 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA512B #2B94BA
analogous
#BA2B4D #BA512B #BA982B
triadic
#BA512B #2BBA51 #512BBA
tetradic
#BA512B #4DBA2B #2B94BA #982BBA
square
#BA512B #4DBA2B #2B94BA #982BBA
split-complementary
#BA512B #2BBA98 #2B4DBA
monochromatic
#572614 #883B20 #BA512B #D6714C #E1987E

Accessibility & contrast

On white

4.88
#BA512B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#BA512B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA512B
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA512B#FFFFFF#000000##FFFFFF
##BA512B1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6226
Deuteranopia (green-blind)
#887A28
Tritanopia (blue-blind)
#CC3A49
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba512b;
/* rgb */ color: rgb(186, 81, 43);
/* oklch */ color: oklch(56.4% 0.145 39.5);
Tailwind
colors: {
  custom: {
    50: '#d68567',
    500: '#ba512b',
    950: '#000000',
  },
}
SCSS
$custom: #ba512b;
$custom-light: #d68567;
$custom-dark: #000000;
JSON
{
  "hex": "#ba512b",
  "rgb": {
    "r": 186,
    "g": 81,
    "b": 43
  },
  "hsl": {
    "h": 15.944,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.56363,
    "c": 0.1455,
    "h": 39.5
  },
  "luminance": 0.16498
}

Semantic roles & 50–950 ramp

primary
#BA512B
secondary
#77B4CA
accent
#BAE642
background
#FEF8F6
surface
#FCEFEB
border
#D5CAC6
text
#160B06
muted
#847C7A

Preview Lab

Preview with #BA512B

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

Preview Lab → · Contrast checker → · Palette generator →

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