#BA512A#BA512A

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

Color values

HEX#BA512A
RGBrgb(186, 81, 42)
HSLhsl(16, 63%, 45%)
HSVhsv(16, 77%, 73%)
CMYKcmyk(0%, 56.5%, 77.4%, 27.1%)
CIE-LABlab(47.62, 40.11, 42.48)
CIE-LCHlch(47.62, 58.43, 46.65°)
OKLaboklab(56.35% 0.1119 0.0934)
OKLCHoklch(56.35% 0.146 39.8)
XYZxyz(23.6125, 16.4943, 4.1304)
Luminance0.1649 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA512A #2A93BA
analogous
#BA2A4B #BA512A #BA992A
triadic
#BA512A #2ABA51 #512ABA
tetradic
#BA512A #4BBA2A #2A93BA #992ABA
square
#BA512A #4BBA2A #2A93BA #992ABA
split-complementary
#BA512A #2ABA99 #2A4BBA
monochromatic
#562613 #883B1F #BA512A #D6714B #E2987D

Accessibility & contrast

On white

4.89
#BA512A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA512A
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA512A#FFFFFF#000000##FFFFFF
##BA512A1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6225
Deuteranopia (green-blind)
#887A27
Tritanopia (blue-blind)
#CC3949
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba512a;
/* rgb */ color: rgb(186, 81, 42);
/* oklch */ color: oklch(56.4% 0.146 39.8);
Tailwind
colors: {
  custom: {
    50: '#d68566',
    500: '#ba512a',
    950: '#000000',
  },
}
SCSS
$custom: #ba512a;
$custom-light: #d68566;
$custom-dark: #000000;
JSON
{
  "hex": "#ba512a",
  "rgb": {
    "r": 186,
    "g": 81,
    "b": 42
  },
  "hsl": {
    "h": 16.25,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56353,
    "c": 0.14578,
    "h": 39.8
  },
  "luminance": 0.16491
}

Semantic roles & 50–950 ramp

primary
#BA512A
secondary
#76B3CA
accent
#BAE642
background
#FEF8F6
surface
#FCEFEB
border
#D5CAC6
text
#160B06
muted
#847C7A

Preview Lab

Preview with #BA512A

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

Preview Lab → · Contrast checker → · Palette generator →

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