#BA3B42#BA3B42

#BA3B42 is a mid, vivid red. Relative luminance 0.140; OKLCH L 53.9% C 0.163 H 21.5°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#BA3B42
RGBrgb(186, 59, 66)
HSLhsl(357, 52%, 48%)
HSVhsv(357, 68%, 73%)
CMYKcmyk(0%, 68.3%, 64.5%, 27.1%)
CIE-LABlab(44.18, 51.27, 25.01)
CIE-LCHlch(44.18, 57.04, 26.00°)
OKLaboklab(53.86% 0.1514 0.0596)
OKLCHoklch(53.86% 0.163 21.5)
XYZxyz(22.7994, 13.9636, 6.6479)
Luminance0.1396 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3B42 #3BBAB3
analogous
#BA3B81 #BA3B42 #BA733B
triadic
#BA3B42 #42BA3B #3B42BA
tetradic
#BA3B42 #81BA3B #3BBAB3 #733BBA
square
#BA3B42 #81BA3B #3BBAB3 #733BBA
split-complementary
#BA3B42 #3BBA73 #3B81BA
monochromatic
#5D1E21 #8C2C32 #BA3B42 #CE646A #DD9397

Accessibility & contrast

On white

5.54
#BA3B42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#BA3B42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3B42
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3B42#FFFFFF#000000##FFFFFF
##BA3B421.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5741
Deuteranopia (green-blind)
#7D723E
Tritanopia (blue-blind)
#CC1A3F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba3b42;
/* rgb */ color: rgb(186, 59, 66);
/* oklch */ color: oklch(53.9% 0.163 21.5);
Tailwind
colors: {
  custom: {
    50: '#d67976',
    500: '#ba3b42',
    950: '#000000',
  },
}
SCSS
$custom: #ba3b42;
$custom-light: #d67976;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3b42",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 66
  },
  "hsl": {
    "h": 356.693,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.53863,
    "c": 0.16273,
    "h": 21.5
  },
  "luminance": 0.1396
}

Semantic roles & 50–950 ramp

primary
#BA3B42
secondary
#89C8C4
accent
#DBD34D
background
#FEF7F7
surface
#FCEEED
border
#D5C9C8
text
#160A08
muted
#847C7B

Preview Lab

Preview with #BA3B42

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

Preview Lab → · Contrast checker → · Palette generator →

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