#BA504A#BA504A

#BA504A is a mid, vivid red. Relative luminance 0.167; OKLCH L 56.7% C 0.139 H 25.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#BA504A
RGBrgb(186, 80, 74)
HSLhsl(3, 45%, 51%)
HSVhsv(3, 60%, 73%)
CMYKcmyk(0%, 57%, 60.2%, 27.1%)
CIE-LABlab(47.85, 42.39, 24.90)
CIE-LCHlch(47.85, 49.16, 30.43°)
OKLaboklab(56.66% 0.1249 0.0601)
OKLCHoklch(56.66% 0.139 25.7)
XYZxyz(24.3565, 16.6739, 8.4130)
Luminance0.1667 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA504A #4AB4BA
analogous
#BA4A7C #BA504A #BA884A
triadic
#BA504A #4ABA50 #504ABA
tetradic
#BA504A #7CBA4A #4AB4BA #884ABA
square
#BA504A #7CBA4A #4AB4BA #884ABA
split-complementary
#BA504A #4ABA88 #4A7CBA
monochromatic
#642926 #903C37 #BA504A #CB7B76 #DCA6A3

Accessibility & contrast

On white

4.85
#BA504A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#BA504A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA504A
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA504A#FFFFFF#000000##FFFFFF
##BA504A1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6349
Deuteranopia (green-blind)
#857A48
Tritanopia (blue-blind)
#CB3D4F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba504a;
/* rgb */ color: rgb(186, 80, 74);
/* oklch */ color: oklch(56.7% 0.139 25.7);
Tailwind
colors: {
  custom: {
    50: '#d4857c',
    500: '#ba504a',
    950: '#000000',
  },
}
SCSS
$custom: #ba504a;
$custom-light: #d4857c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba504a",
  "rgb": {
    "r": 186,
    "g": 80,
    "b": 74
  },
  "hsl": {
    "h": 3.214,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56662,
    "c": 0.1386,
    "h": 25.7
  },
  "luminance": 0.16671
}

Semantic roles & 50–950 ramp

primary
#BA504A
secondary
#97C6C9
accent
#CED553
background
#FDF8F7
surface
#FBEFEE
border
#D4CAC9
text
#150B09
muted
#837C7B

Preview Lab

Preview with #BA504A

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

Preview Lab → · Contrast checker → · Palette generator →

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