#BA404E#BA404E

#BA404E is a mid, vivid red. Relative luminance 0.147; OKLCH L 54.7% C 0.157 H 17.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#BA404E
RGBrgb(186, 64, 78)
HSLhsl(353, 49%, 49%)
HSVhsv(353, 66%, 73%)
CMYKcmyk(0%, 65.6%, 58.1%, 27.1%)
CIE-LABlab(45.16, 50.01, 18.98)
CIE-LCHlch(45.16, 53.49, 20.79°)
OKLaboklab(54.67% 0.1496 0.0467)
OKLCHoklch(54.67% 0.157 17.3)
XYZxyz(23.4604, 14.6591, 8.8004)
Luminance0.1466 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA404E #40BAAC
analogous
#BA408B #BA404E #BA6F40
triadic
#BA404E #4EBA40 #404EBA
tetradic
#BA404E #8BBA40 #40BAAC #6F40BA
square
#BA404E #8BBA40 #40BAAC #6F40BA
split-complementary
#BA404E #40BA6F #408BBA
monochromatic
#5F2128 #8C303B #BA404E #CC6B76 #DC99A0

Accessibility & contrast

On white

5.34
#BA404E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA404E
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA404E#FFFFFF#000000##FFFFFF
##BA404E1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5B4E
Deuteranopia (green-blind)
#7E744B
Tritanopia (blue-blind)
#CB2746
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba404e;
/* rgb */ color: rgb(186, 64, 78);
/* oklch */ color: oklch(54.7% 0.157 17.3);
Tailwind
colors: {
  custom: {
    50: '#d57c7f',
    500: '#ba404e',
    950: '#000000',
  },
}
SCSS
$custom: #ba404e;
$custom-light: #d57c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba404e",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 78
  },
  "hsl": {
    "h": 353.115,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.54669,
    "c": 0.15673,
    "h": 17.3
  },
  "luminance": 0.14656
}

Semantic roles & 50–950 ramp

primary
#BA404E
secondary
#8EC8C1
accent
#D8C94F
background
#FDF7F7
surface
#FBEEEE
border
#D4C9C9
text
#150A0A
muted
#837C7C

Preview Lab

Preview with #BA404E

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

Preview Lab → · Contrast checker → · Palette generator →

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