#BA3C31#BA3C31

#BA3C31 is a mid, vivid red. Relative luminance 0.139; OKLCH L 53.7% C 0.164 H 28.7°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#BA3C31
RGBrgb(186, 60, 49)
HSLhsl(5, 58%, 46%)
HSVhsv(5, 74%, 73%)
CMYKcmyk(0%, 67.7%, 73.7%, 27.1%)
CIE-LABlab(44.08, 49.97, 34.93)
CIE-LCHlch(44.08, 60.96, 34.95°)
OKLaboklab(53.71% 0.1438 0.0788)
OKLCHoklch(53.71% 0.164 28.7)
XYZxyz(22.4224, 13.8959, 4.4066)
Luminance0.1389 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3C31 #31AFBA
analogous
#BA316A #BA3C31 #BA8031
triadic
#BA3C31 #31BA3C #3C31BA
tetradic
#BA3C31 #6ABA31 #31AFBA #8031BA
square
#BA3C31 #6ABA31 #31AFBA #8031BA
split-complementary
#BA3C31 #31BA80 #316ABA
monochromatic
#591D17 #8A2C24 #BA3C31 #D26056 #DF8D86

Accessibility & contrast

On white

5.56
#BA3C31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#BA3C31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3C31
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3C31#FFFFFF#000000##FFFFFF
##BA3C311.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60572F
Deuteranopia (green-blind)
#7F722D
Tritanopia (blue-blind)
#CD163A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba3c31;
/* rgb */ color: rgb(186, 60, 49);
/* oklch */ color: oklch(53.7% 0.164 28.7);
Tailwind
colors: {
  custom: {
    50: '#d7796a',
    500: '#ba3c31',
    950: '#000000',
  },
}
SCSS
$custom: #ba3c31;
$custom-light: #d7796a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3c31",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 49
  },
  "hsl": {
    "h": 4.818,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53711,
    "c": 0.16399,
    "h": 28.7
  },
  "luminance": 0.13893
}

Semantic roles & 50–950 ramp

primary
#BA3C31
secondary
#7EC3C9
accent
#D5E246
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BA3C31

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

Preview Lab → · Contrast checker → · Palette generator →

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