#BA3A31#BA3A31

#BA3A31 is a mid, vivid red. Relative luminance 0.137; OKLCH L 53.5% C 0.166 H 28.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#BA3A31
RGBrgb(186, 58, 49)
HSLhsl(4, 58%, 46%)
HSVhsv(4, 74%, 73%)
CMYKcmyk(0%, 68.8%, 73.7%, 27.1%)
CIE-LABlab(43.79, 50.78, 34.59)
CIE-LCHlch(43.79, 61.44, 34.26°)
OKLaboklab(53.49% 0.1464 0.078)
OKLCHoklch(53.49% 0.166 28.1)
XYZxyz(22.3196, 13.6903, 4.3724)
Luminance0.1369 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3A31 #31B1BA
analogous
#BA316C #BA3A31 #BA7E31
triadic
#BA3A31 #31BA3A #3A31BA
tetradic
#BA3A31 #6CBA31 #31B1BA #7E31BA
square
#BA3A31 #6CBA31 #31B1BA #7E31BA
split-complementary
#BA3A31 #31BA7E #316CBA
monochromatic
#591C17 #8A2B24 #BA3A31 #D25E56 #DF8C86

Accessibility & contrast

On white

5.62
#BA3A31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#BA3A31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3A31
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3A31#FFFFFF#000000##FFFFFF
##BA3A311.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E562F
Deuteranopia (green-blind)
#7E722D
Tritanopia (blue-blind)
#CD1139
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba3a31;
/* rgb */ color: rgb(186, 58, 49);
/* oklch */ color: oklch(53.5% 0.166 28.1);
Tailwind
colors: {
  custom: {
    50: '#d7786a',
    500: '#ba3a31',
    950: '#000000',
  },
}
SCSS
$custom: #ba3a31;
$custom-light: #d7786a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3a31",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 49
  },
  "hsl": {
    "h": 3.942,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53488,
    "c": 0.16587,
    "h": 28.1
  },
  "luminance": 0.13687
}

Semantic roles & 50–950 ramp

primary
#BA3A31
secondary
#7EC4C9
accent
#D7E246
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BA3A31

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

Preview Lab → · Contrast checker → · Palette generator →

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