#BA502C#BA502C

#BA502C is a mid, vivid orange. Relative luminance 0.164; OKLCH L 56.2% C 0.146 H 38.7°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#BA502C
RGBrgb(186, 80, 44)
HSLhsl(15, 62%, 45%)
HSVhsv(15, 76%, 73%)
CMYKcmyk(0%, 57%, 76.3%, 27.1%)
CIE-LABlab(47.45, 40.68, 41.29)
CIE-LCHlch(47.45, 57.96, 45.42°)
OKLaboklab(56.23% 0.1141 0.0913)
OKLCHoklch(56.23% 0.146 38.7)
XYZxyz(23.5754, 16.3614, 4.2990)
Luminance0.1636 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA502C #2C96BA
analogous
#BA2C4F #BA502C #BA972C
triadic
#BA502C #2CBA50 #502CBA
tetradic
#BA502C #4FBA2C #2C96BA #972CBA
square
#BA502C #4FBA2C #2C96BA #972CBA
split-complementary
#BA502C #2CBA97 #2C4FBA
monochromatic
#572515 #893B20 #BA502C #D5704E #E19880

Accessibility & contrast

On white

4.92
#BA502C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#BA502C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA502C
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA502C#FFFFFF#000000##FFFFFF
##BA502C1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6227
Deuteranopia (green-blind)
#877929
Tritanopia (blue-blind)
#CC3848
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba502c;
/* rgb */ color: rgb(186, 80, 44);
/* oklch */ color: oklch(56.2% 0.146 38.7);
Tailwind
colors: {
  custom: {
    50: '#d68467',
    500: '#ba502c',
    950: '#000000',
  },
}
SCSS
$custom: #ba502c;
$custom-light: #d68467;
$custom-dark: #000000;
JSON
{
  "hex": "#ba502c",
  "rgb": {
    "r": 186,
    "g": 80,
    "b": 44
  },
  "hsl": {
    "h": 15.211,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.56229,
    "c": 0.14611,
    "h": 38.7
  },
  "luminance": 0.16358
}

Semantic roles & 50–950 ramp

primary
#BA502C
secondary
#78B5CA
accent
#BCE543
background
#FEF8F6
surface
#FCEFEB
border
#D5CAC6
text
#160B06
muted
#847C7A

Preview Lab

Preview with #BA502C

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

Preview Lab → · Contrast checker → · Palette generator →

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