#BA404F#BA404F

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

Color values

HEX#BA404F
RGBrgb(186, 64, 79)
HSLhsl(353, 49%, 49%)
HSVhsv(353, 66%, 73%)
CMYKcmyk(0%, 65.6%, 57.5%, 27.1%)
CIE-LABlab(45.18, 50.08, 18.40)
CIE-LCHlch(45.18, 53.35, 20.17°)
OKLaboklab(54.69% 0.15 0.0454)
OKLCHoklch(54.69% 0.157 16.8)
XYZxyz(23.4965, 14.6735, 8.9906)
Luminance0.1467 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA404F #40BAAB
analogous
#BA408C #BA404F #BA6E40
triadic
#BA404F #4FBA40 #404FBA
tetradic
#BA404F #8CBA40 #40BAAB #6E40BA
square
#BA404F #8CBA40 #40BAAB #6E40BA
split-complementary
#BA404F #40BA6E #408CBA
monochromatic
#5F2128 #8C303C #BA404F #CC6B77 #DC99A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA404F#FFFFFF#000000##FFFFFF
##BA404F1.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)
#5E5B4F
Deuteranopia (green-blind)
#7D744C
Tritanopia (blue-blind)
#CB2846
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba404f;
/* rgb */ color: rgb(186, 64, 79);
/* oklch */ color: oklch(54.7% 0.157 16.8);
Tailwind
colors: {
  custom: {
    50: '#d57c80',
    500: '#ba404f',
    950: '#000000',
  },
}
SCSS
$custom: #ba404f;
$custom-light: #d57c80;
$custom-dark: #000000;
JSON
{
  "hex": "#ba404f",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 79
  },
  "hsl": {
    "h": 352.623,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.54691,
    "c": 0.15673,
    "h": 16.8
  },
  "luminance": 0.1467
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA404F

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

Preview Lab → · Contrast checker → · Palette generator →

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