#BA512E#BA512E

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

Color values

HEX#BA512E
RGBrgb(186, 81, 46)
HSLhsl(15, 60%, 45%)
HSVhsv(15, 75%, 73%)
CMYKcmyk(0%, 56.5%, 75.3%, 27.1%)
CIE-LABlab(47.66, 40.28, 40.47)
CIE-LCHlch(47.66, 57.10, 45.13°)
OKLaboklab(56.39% 0.1132 0.0901)
OKLCHoklch(56.39% 0.145 38.5)
XYZxyz(23.6877, 16.5243, 4.5264)
Luminance0.1652 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA512E #2E97BA
analogous
#BA2E51 #BA512E #BA972E
triadic
#BA512E #2EBA51 #512EBA
tetradic
#BA512E #51BA2E #2E97BA #972EBA
square
#BA512E #51BA2E #2E97BA #972EBA
split-complementary
#BA512E #2EBA97 #2E51BA
monochromatic
#582616 #893C22 #BA512E #D47251 #E09A82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA512E#FFFFFF#000000##FFFFFF
##BA512E1.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)
#6E632A
Deuteranopia (green-blind)
#887A2B
Tritanopia (blue-blind)
#CC3A49
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba512e;
/* rgb */ color: rgb(186, 81, 46);
/* oklch */ color: oklch(56.4% 0.145 38.5);
Tailwind
colors: {
  custom: {
    50: '#d68569',
    500: '#ba512e',
    950: '#000000',
  },
}
SCSS
$custom: #ba512e;
$custom-light: #d68569;
$custom-dark: #000000;
JSON
{
  "hex": "#ba512e",
  "rgb": {
    "r": 186,
    "g": 81,
    "b": 46
  },
  "hsl": {
    "h": 15,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56394,
    "c": 0.14463,
    "h": 38.5
  },
  "luminance": 0.16521
}

Semantic roles & 50–950 ramp

primary
#BA512E
secondary
#7BB6C9
accent
#BCE344
background
#FEF8F6
surface
#FCEFEB
border
#D5CAC6
text
#160B06
muted
#847C7A

Preview Lab

Preview with #BA512E

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

Preview Lab → · Contrast checker → · Palette generator →

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