#BA512D#BA512D

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

Color values

HEX#BA512D
RGBrgb(186, 81, 45)
HSLhsl(15, 61%, 45%)
HSVhsv(15, 76%, 73%)
CMYKcmyk(0%, 56.5%, 75.8%, 27.1%)
CIE-LABlab(47.65, 40.23, 40.98)
CIE-LCHlch(47.65, 57.43, 45.52°)
OKLaboklab(56.38% 0.1129 0.0909)
OKLCHoklch(56.38% 0.145 38.9)
XYZxyz(23.6682, 16.5165, 4.4238)
Luminance0.1651 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA512D #2D96BA
analogous
#BA2D50 #BA512D #BA972D
triadic
#BA512D #2DBA51 #512DBA
tetradic
#BA512D #50BA2D #2D96BA #972DBA
square
#BA512D #50BA2D #2D96BA #972DBA
split-complementary
#BA512D #2DBA97 #2D50BA
monochromatic
#572615 #893C21 #BA512D #D57250 #E09981

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA512D#FFFFFF#000000##FFFFFF
##BA512D1.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)
#6E6329
Deuteranopia (green-blind)
#887A2A
Tritanopia (blue-blind)
#CC3A49
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba512d;
/* rgb */ color: rgb(186, 81, 45);
/* oklch */ color: oklch(56.4% 0.145 38.9);
Tailwind
colors: {
  custom: {
    50: '#d68568',
    500: '#ba512d',
    950: '#000000',
  },
}
SCSS
$custom: #ba512d;
$custom-light: #d68568;
$custom-dark: #000000;
JSON
{
  "hex": "#ba512d",
  "rgb": {
    "r": 186,
    "g": 81,
    "b": 45
  },
  "hsl": {
    "h": 15.319,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56384,
    "c": 0.14492,
    "h": 38.9
  },
  "luminance": 0.16513
}

Semantic roles & 50–950 ramp

primary
#BA512D
secondary
#79B5C9
accent
#BBE444
background
#FEF8F6
surface
#FCEFEB
border
#D5CAC6
text
#160B06
muted
#847C7A

Preview Lab

Preview with #BA512D

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

Preview Lab → · Contrast checker → · Palette generator →

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