#BA502E#BA502E

#BA502E is a mid, vivid red. Relative luminance 0.164; OKLCH L 56.3% C 0.146 H 38.0°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#BA502E
RGBrgb(186, 80, 46)
HSLhsl(15, 60%, 45%)
HSVhsv(15, 75%, 73%)
CMYKcmyk(0%, 57%, 75.3%, 27.1%)
CIE-LABlab(47.47, 40.77, 40.27)
CIE-LCHlch(47.47, 57.30, 44.64°)
OKLaboklab(56.25% 0.1147 0.0896)
OKLCHoklch(56.25% 0.146 38)
XYZxyz(23.6139, 16.3768, 4.5018)
Luminance0.1637 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA502E #2E98BA
analogous
#BA2E52 #BA502E #BA962E
triadic
#BA502E #2EBA50 #502EBA
tetradic
#BA502E #52BA2E #2E98BA #962EBA
square
#BA502E #52BA2E #2E98BA #962EBA
split-complementary
#BA502E #2EBA96 #2E52BA
monochromatic
#582616 #893B22 #BA502E #D47151 #E09982

Accessibility & contrast

On white

4.91
#BA502E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA502E
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA502E#FFFFFF#000000##FFFFFF
##BA502E1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D622A
Deuteranopia (green-blind)
#87792B
Tritanopia (blue-blind)
#CC3849
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba502e;
/* rgb */ color: rgb(186, 80, 46);
/* oklch */ color: oklch(56.3% 0.146 38.0);
Tailwind
colors: {
  custom: {
    50: '#d68468',
    500: '#ba502e',
    950: '#000000',
  },
}
SCSS
$custom: #ba502e;
$custom-light: #d68468;
$custom-dark: #000000;
JSON
{
  "hex": "#ba502e",
  "rgb": {
    "r": 186,
    "g": 80,
    "b": 46
  },
  "hsl": {
    "h": 14.571,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5625,
    "c": 0.14554,
    "h": 38
  },
  "luminance": 0.16374
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA502E

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

Preview Lab → · Contrast checker → · Palette generator →

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