#BA3540#BA3540

#BA3540 is a mid, vivid red. Relative luminance 0.134; OKLCH L 53.2% C 0.169 H 20.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#BA3540
RGBrgb(186, 53, 64)
HSLhsl(355, 56%, 47%)
HSVhsv(355, 72%, 73%)
CMYKcmyk(0%, 71.5%, 65.6%, 27.1%)
CIE-LABlab(43.30, 53.48, 25.11)
CIE-LCHlch(43.30, 59.08, 25.15°)
OKLaboklab(53.19% 0.1581 0.0596)
OKLCHoklch(53.19% 0.169 20.7)
XYZxyz(22.4506, 13.3588, 6.2458)
Luminance0.1336 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3540 #35BAAF
analogous
#BA3582 #BA3540 #BA6D35
triadic
#BA3540 #40BA35 #3540BA
tetradic
#BA3540 #82BA35 #35BAAF #6D35BA
square
#BA3540 #82BA35 #35BAAF #6D35BA
split-complementary
#BA3540 #35BA6D #3582BA
monochromatic
#5B1A1F #8A2730 #BA3540 #D05C65 #DE8B92

Accessibility & contrast

On white

5.72
#BA3540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#BA3540 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3540
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3540#FFFFFF#000000##FFFFFF
##BA35401.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A543F
Deuteranopia (green-blind)
#7B713C
Tritanopia (blue-blind)
#CC073A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba3540;
/* rgb */ color: rgb(186, 53, 64);
/* oklch */ color: oklch(53.2% 0.169 20.7);
Tailwind
colors: {
  custom: {
    50: '#d67674',
    500: '#ba3540',
    950: '#000000',
  },
}
SCSS
$custom: #ba3540;
$custom-light: #d67674;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3540",
  "rgb": {
    "r": 186,
    "g": 53,
    "b": 64
  },
  "hsl": {
    "h": 355.038,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53194,
    "c": 0.16891,
    "h": 20.7
  },
  "luminance": 0.13355
}

Semantic roles & 50–950 ramp

primary
#BA3540
secondary
#82C8C3
accent
#DFD349
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160908
muted
#847B7B

Preview Lab

Preview with #BA3540

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

Preview Lab → · Contrast checker → · Palette generator →

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