#BA4940#BA4940

#BA4940 is a mid, vivid red. Relative luminance 0.156; OKLCH L 55.5% C 0.148 H 27.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#BA4940
RGBrgb(186, 73, 64)
HSLhsl(4, 49%, 49%)
HSVhsv(4, 66%, 73%)
CMYKcmyk(0%, 60.8%, 65.6%, 27.1%)
CIE-LABlab(46.42, 45.05, 28.99)
CIE-LCHlch(46.42, 53.57, 32.76°)
OKLaboklab(55.53% 0.1314 0.0683)
OKLCHoklch(55.53% 0.148 27.4)
XYZxyz(23.5599, 15.5775, 6.6156)
Luminance0.1557 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4940 #40B1BA
analogous
#BA4074 #BA4940 #BA8640
triadic
#BA4940 #40BA49 #4940BA
tetradic
#BA4940 #74BA40 #40B1BA #8640BA
square
#BA4940 #74BA40 #40B1BA #8640BA
split-complementary
#BA4940 #40BA86 #4074BA
monochromatic
#5F2521 #8C3730 #BA4940 #CC726B #DC9E99

Accessibility & contrast

On white

5.10
#BA4940 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#BA4940 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4940
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4940#FFFFFF#000000##FFFFFF
##BA49401.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675F3E
Deuteranopia (green-blind)
#83773D
Tritanopia (blue-blind)
#CC3148
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba4940;
/* rgb */ color: rgb(186, 73, 64);
/* oklch */ color: oklch(55.5% 0.148 27.4);
Tailwind
colors: {
  custom: {
    50: '#d58075',
    500: '#ba4940',
    950: '#000000',
  },
}
SCSS
$custom: #ba4940;
$custom-light: #d58075;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4940",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 64
  },
  "hsl": {
    "h": 4.426,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5553,
    "c": 0.14811,
    "h": 27.4
  },
  "luminance": 0.15574
}

Semantic roles & 50–950 ramp

primary
#BA4940
secondary
#8EC3C8
accent
#CED84F
background
#FEF8F7
surface
#FCEFED
border
#D5CAC8
text
#160B08
muted
#847C7B

Preview Lab

Preview with #BA4940

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

Preview Lab → · Contrast checker → · Palette generator →

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