#BA502F#BA502F

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

Color values

HEX#BA502F
RGBrgb(186, 80, 47)
HSLhsl(14, 60%, 46%)
HSVhsv(14, 75%, 73%)
CMYKcmyk(0%, 57%, 74.7%, 27.1%)
CIE-LABlab(47.48, 40.81, 39.75)
CIE-LCHlch(47.48, 56.97, 44.24°)
OKLaboklab(56.26% 0.115 0.0887)
OKLCHoklch(56.26% 0.145 37.7)
XYZxyz(23.6339, 16.3848, 4.6068)
Luminance0.1638 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA502F #2F99BA
analogous
#BA2F53 #BA502F #BA962F
triadic
#BA502F #2FBA50 #502FBA
tetradic
#BA502F #53BA2F #2F99BA #962FBA
square
#BA502F #53BA2F #2F99BA #962FBA
split-complementary
#BA502F #2FBA96 #2F53BA
monochromatic
#582616 #893B23 #BA502F #D37153 #E09984

Accessibility & contrast

On white

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

On black

4.28
#BA502F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA502F#FFFFFF#000000##FFFFFF
##BA502F1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D622B
Deuteranopia (green-blind)
#87792C
Tritanopia (blue-blind)
#CC3949
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba502f;
/* rgb */ color: rgb(186, 80, 47);
/* oklch */ color: oklch(56.3% 0.145 37.7);
Tailwind
colors: {
  custom: {
    50: '#d68469',
    500: '#ba502f',
    950: '#000000',
  },
}
SCSS
$custom: #ba502f;
$custom-light: #d68469;
$custom-dark: #000000;
JSON
{
  "hex": "#ba502f",
  "rgb": {
    "r": 186,
    "g": 80,
    "b": 47
  },
  "hsl": {
    "h": 14.245,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56261,
    "c": 0.14526,
    "h": 37.7
  },
  "luminance": 0.16382
}

Semantic roles & 50–950 ramp

primary
#BA502F
secondary
#7CB7C9
accent
#BDE345
background
#FEF8F6
surface
#FCEFEB
border
#D5CAC6
text
#160B06
muted
#847C7A

Preview Lab

Preview with #BA502F

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

Preview Lab → · Contrast checker → · Palette generator →

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