#BA404C#BA404C

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

Color values

HEX#BA404C
RGBrgb(186, 64, 76)
HSLhsl(354, 49%, 49%)
HSVhsv(354, 66%, 73%)
CMYKcmyk(0%, 65.6%, 59.1%, 27.1%)
CIE-LABlab(45.12, 49.86, 20.15)
CIE-LCHlch(45.12, 53.78, 22.01°)
OKLaboklab(54.63% 0.1488 0.0493)
OKLCHoklch(54.63% 0.157 18.3)
XYZxyz(23.3898, 14.6309, 8.4284)
Luminance0.1463 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA404C #40BAAE
analogous
#BA4089 #BA404C #BA7140
triadic
#BA404C #4CBA40 #404CBA
tetradic
#BA404C #89BA40 #40BAAE #7140BA
square
#BA404C #89BA40 #40BAAE #7140BA
split-complementary
#BA404C #40BA71 #4089BA
monochromatic
#5F2127 #8C3039 #BA404C #CC6B75 #DC999F

Accessibility & contrast

On white

5.35
#BA404C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#BA404C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA404C
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA404C#FFFFFF#000000##FFFFFF
##BA404C1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5B4C
Deuteranopia (green-blind)
#7E7449
Tritanopia (blue-blind)
#CB2745
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba404c;
/* rgb */ color: rgb(186, 64, 76);
/* oklch */ color: oklch(54.6% 0.157 18.3);
Tailwind
colors: {
  custom: {
    50: '#d57b7d',
    500: '#ba404c',
    950: '#000000',
  },
}
SCSS
$custom: #ba404c;
$custom-light: #d57b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba404c",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 76
  },
  "hsl": {
    "h": 354.098,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.54627,
    "c": 0.15677,
    "h": 18.3
  },
  "luminance": 0.14628
}

Semantic roles & 50–950 ramp

primary
#BA404C
secondary
#8EC8C2
accent
#D8CB4F
background
#FDF7F7
surface
#FBEEEE
border
#D4C9C9
text
#150A09
muted
#837C7B

Preview Lab

Preview with #BA404C

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

Preview Lab → · Contrast checker → · Palette generator →

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