#BA3940#BA3940

#BA3940 is a mid, vivid red. Relative luminance 0.137; OKLCH L 53.6% C 0.165 H 21.8°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#BA3940
RGBrgb(186, 57, 64)
HSLhsl(357, 53%, 48%)
HSVhsv(357, 69%, 73%)
CMYKcmyk(0%, 69.4%, 65.6%, 27.1%)
CIE-LABlab(43.86, 51.95, 25.81)
CIE-LCHlch(43.86, 58.00, 26.42°)
OKLaboklab(53.61% 0.1532 0.0612)
OKLCHoklch(53.61% 0.165 21.8)
XYZxyz(22.6406, 13.7388, 6.3092)
Luminance0.1374 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3940 #39BAB3
analogous
#BA3981 #BA3940 #BA7239
triadic
#BA3940 #40BA39 #3940BA
tetradic
#BA3940 #81BA39 #39BAB3 #7239BA
square
#BA3940 #81BA39 #39BAB3 #7239BA
split-complementary
#BA3940 #39BA72 #3981BA
monochromatic
#5C1C20 #8B2B30 #BA3940 #CF6167 #DD9094

Accessibility & contrast

On white

5.60
#BA3940 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#BA3940 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3940
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3940#FFFFFF#000000##FFFFFF
##BA39401.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C563F
Deuteranopia (green-blind)
#7D723C
Tritanopia (blue-blind)
#CC143D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba3940;
/* rgb */ color: rgb(186, 57, 64);
/* oklch */ color: oklch(53.6% 0.165 21.8);
Tailwind
colors: {
  custom: {
    50: '#d67874',
    500: '#ba3940',
    950: '#000000',
  },
}
SCSS
$custom: #ba3940;
$custom-light: #d67874;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3940",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 64
  },
  "hsl": {
    "h": 356.744,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.5361,
    "c": 0.16494,
    "h": 21.8
  },
  "luminance": 0.13736
}

Semantic roles & 50–950 ramp

primary
#BA3940
secondary
#87C8C4
accent
#DCD54B
background
#FEF7F7
surface
#FCEEED
border
#D5C9C8
text
#160908
muted
#847B7B

Preview Lab

Preview with #BA3940

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

Preview Lab → · Contrast checker → · Palette generator →

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