#BA404D#BA404D

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

Color values

HEX#BA404D
RGBrgb(186, 64, 77)
HSLhsl(354, 49%, 49%)
HSVhsv(354, 66%, 73%)
CMYKcmyk(0%, 65.6%, 58.6%, 27.1%)
CIE-LABlab(45.14, 49.93, 19.57)
CIE-LCHlch(45.14, 53.63, 21.40°)
OKLaboklab(54.65% 0.1492 0.048)
OKLCHoklch(54.65% 0.157 17.8)
XYZxyz(23.4248, 14.6449, 8.6130)
Luminance0.1464 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA404D #40BAAD
analogous
#BA408A #BA404D #BA7040
triadic
#BA404D #4DBA40 #404DBA
tetradic
#BA404D #8ABA40 #40BAAD #7040BA
square
#BA404D #8ABA40 #40BAAD #7040BA
split-complementary
#BA404D #40BA70 #408ABA
monochromatic
#5F2127 #8C303A #BA404D #CC6B75 #DC99A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA404D#FFFFFF#000000##FFFFFF
##BA404D1.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)
#5F5B4D
Deuteranopia (green-blind)
#7E744A
Tritanopia (blue-blind)
#CB2745
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba404d;
/* rgb */ color: rgb(186, 64, 77);
/* oklch */ color: oklch(54.6% 0.157 17.8);
Tailwind
colors: {
  custom: {
    50: '#d57c7e',
    500: '#ba404d',
    950: '#000000',
  },
}
SCSS
$custom: #ba404d;
$custom-light: #d57c7e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba404d",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 77
  },
  "hsl": {
    "h": 353.607,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.54648,
    "c": 0.15674,
    "h": 17.8
  },
  "luminance": 0.14642
}

Semantic roles & 50–950 ramp

primary
#BA404D
secondary
#8EC8C2
accent
#D8CA4F
background
#FDF7F7
surface
#FBEEEE
border
#D4C9C9
text
#150A0A
muted
#837C7C

Preview Lab

Preview with #BA404D

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

Preview Lab → · Contrast checker → · Palette generator →

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