#BA4040#BA4040

#BA4040 is a mid, vivid red. Relative luminance 0.145; OKLCH L 54.4% C 0.158 H 24.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#BA4040
RGBrgb(186, 64, 64)
HSLhsl(0, 49%, 49%)
HSVhsv(0, 66%, 73%)
CMYKcmyk(0%, 65.6%, 65.6%, 27.1%)
CIE-LABlab(44.91, 49.07, 27.13)
CIE-LCHlch(44.91, 56.07, 28.93°)
OKLaboklab(54.4% 0.1441 0.0641)
OKLCHoklch(54.4% 0.158 24)
XYZxyz(23.0108, 14.4793, 6.4326)
Luminance0.1448 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4040 #40BABA
analogous
#BA407D #BA4040 #BA7D40
triadic
#BA4040 #40BA40 #4040BA
tetradic
#BA4040 #7DBA40 #40BABA #7D40BA
square
#BA4040 #7DBA40 #40BABA #7D40BA
split-complementary
#BA4040 #40BA7D #407DBA
monochromatic
#5F2121 #8C3030 #BA4040 #CC6B6B #DC9999

Accessibility & contrast

On white

5.39
#BA4040 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#BA4040 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4040
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4040#FFFFFF#000000##FFFFFF
##BA40401.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605A3F
Deuteranopia (green-blind)
#7F743D
Tritanopia (blue-blind)
#CC2341
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba4040;
/* rgb */ color: rgb(186, 64, 64);
/* oklch */ color: oklch(54.4% 0.158 24.0);
Tailwind
colors: {
  custom: {
    50: '#d67b75',
    500: '#ba4040',
    950: '#000000',
  },
}
SCSS
$custom: #ba4040;
$custom-light: #d67b75;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4040",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 64
  },
  "hsl": {
    "h": 0,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.544,
    "c": 0.1577,
    "h": 24
  },
  "luminance": 0.14476
}

Semantic roles & 50–950 ramp

primary
#BA4040
secondary
#8EC8C8
accent
#D8D84F
background
#FEF7F7
surface
#FCEEED
border
#D5C9C8
text
#160A08
muted
#847C7B

Preview Lab

Preview with #BA4040

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

Preview Lab → · Contrast checker → · Palette generator →

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