#BA404A#BA404A

#BA404A is a mid, vivid red. Relative luminance 0.146; OKLCH L 54.6% C 0.157 H 19.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#BA404A
RGBrgb(186, 64, 74)
HSLhsl(355, 49%, 49%)
HSVhsv(355, 66%, 73%)
CMYKcmyk(0%, 65.6%, 60.2%, 27.1%)
CIE-LABlab(45.09, 49.72, 21.32)
CIE-LCHlch(45.09, 54.10, 23.21°)
OKLaboklab(54.59% 0.148 0.0519)
OKLCHoklch(54.59% 0.157 19.3)
XYZxyz(23.3213, 14.6035, 8.0679)
Luminance0.1460 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA404A #40BAB0
analogous
#BA4087 #BA404A #BA7340
triadic
#BA404A #4ABA40 #404ABA
tetradic
#BA404A #87BA40 #40BAB0 #7340BA
square
#BA404A #87BA40 #40BAB0 #7340BA
split-complementary
#BA404A #40BA73 #4087BA
monochromatic
#5F2126 #8C3038 #BA404A #CC6B73 #DC999E

Accessibility & contrast

On white

5.36
#BA404A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#BA404A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA404A
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA404A#FFFFFF#000000##FFFFFF
##BA404A1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5A4A
Deuteranopia (green-blind)
#7E7447
Tritanopia (blue-blind)
#CB2644
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba404a;
/* rgb */ color: rgb(186, 64, 74);
/* oklch */ color: oklch(54.6% 0.157 19.3);
Tailwind
colors: {
  custom: {
    50: '#d57b7c',
    500: '#ba404a',
    950: '#000000',
  },
}
SCSS
$custom: #ba404a;
$custom-light: #d57b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba404a",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 74
  },
  "hsl": {
    "h": 355.082,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.54586,
    "c": 0.15684,
    "h": 19.3
  },
  "luminance": 0.146
}

Semantic roles & 50–950 ramp

primary
#BA404A
secondary
#8EC8C3
accent
#D8CD4F
background
#FDF7F7
surface
#FBEEEE
border
#D4C9C9
text
#150A09
muted
#837C7B

Preview Lab

Preview with #BA404A

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

Preview Lab → · Contrast checker → · Palette generator →

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