#BA504B#BA504B

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

Color values

HEX#BA504B
RGBrgb(186, 80, 75)
HSLhsl(3, 45%, 51%)
HSVhsv(3, 60%, 73%)
CMYKcmyk(0%, 57%, 59.7%, 27.1%)
CIE-LABlab(47.86, 42.46, 24.33)
CIE-LCHlch(47.86, 48.93, 29.81°)
OKLaboklab(56.68% 0.1253 0.0589)
OKLCHoklch(56.68% 0.138 25.2)
XYZxyz(24.3905, 16.6874, 8.5918)
Luminance0.1668 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA504B #4BB5BA
analogous
#BA4B7D #BA504B #BA874B
triadic
#BA504B #4BBA50 #504BBA
tetradic
#BA504B #7DBA4B #4BB5BA #874BBA
square
#BA504B #7DBA4B #4BB5BA #874BBA
split-complementary
#BA504B #4BBA87 #4B7DBA
monochromatic
#642926 #903B37 #BA504B #CB7B77 #DCA6A3

Accessibility & contrast

On white

4.84
#BA504B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#BA504B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA504B
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA504B#FFFFFF#000000##FFFFFF
##BA504B1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba504b;
/* rgb */ color: rgb(186, 80, 75);
/* oklch */ color: oklch(56.7% 0.138 25.2);
Tailwind
colors: {
  custom: {
    50: '#d4857d',
    500: '#ba504b',
    950: '#000000',
  },
}
SCSS
$custom: #ba504b;
$custom-light: #d4857d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba504b",
  "rgb": {
    "r": 186,
    "g": 80,
    "b": 75
  },
  "hsl": {
    "h": 2.703,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5668,
    "c": 0.13843,
    "h": 25.2
  },
  "luminance": 0.16684
}

Semantic roles & 50–950 ramp

primary
#BA504B
secondary
#98C7C9
accent
#CED454
background
#FDF8F7
surface
#FBEFEE
border
#D4CAC9
text
#150B09
muted
#837C7B

Preview Lab

Preview with #BA504B

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

Preview Lab → · Contrast checker → · Palette generator →

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