#BA3A2B#BA3A2B

#BA3A2B is a mid, vivid red. Relative luminance 0.136; OKLCH L 53.4% C 0.167 H 30.1°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#BA3A2B
RGBrgb(186, 58, 43)
HSLhsl(6, 62%, 45%)
HSVhsv(6, 77%, 73%)
CMYKcmyk(0%, 68.8%, 76.9%, 27.1%)
CIE-LABlab(43.72, 50.53, 37.89)
CIE-LCHlch(43.72, 63.16, 36.87°)
OKLaboklab(53.41% 0.1444 0.0837)
OKLCHoklch(53.41% 0.167 30.1)
XYZxyz(22.2013, 13.6430, 3.7494)
Luminance0.1364 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3A2B #2BABBA
analogous
#BA2B63 #BA3A2B #BA822B
triadic
#BA3A2B #2BBA3A #3A2BBA
tetradic
#BA3A2B #63BA2B #2BABBA #822BBA
square
#BA3A2B #63BA2B #2BABBA #822BBA
split-complementary
#BA3A2B #2BBA82 #2B63BA
monochromatic
#571B14 #882B20 #BA3A2B #D65B4C #E1897E

Accessibility & contrast

On white

5.63
#BA3A2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#BA3A2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3A2B
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3A2B#FFFFFF#000000##FFFFFF
##BA3A2B1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5528
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#CD0E38
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba3a2b;
/* rgb */ color: rgb(186, 58, 43);
/* oklch */ color: oklch(53.4% 0.167 30.1);
Tailwind
colors: {
  custom: {
    50: '#d77865',
    500: '#ba3a2b',
    950: '#000000',
  },
}
SCSS
$custom: #ba3a2b;
$custom-light: #d77865;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3a2b",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 43
  },
  "hsl": {
    "h": 6.294,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53414,
    "c": 0.1669,
    "h": 30.1
  },
  "luminance": 0.1364
}

Semantic roles & 50–950 ramp

primary
#BA3A2B
secondary
#77C1CA
accent
#D4E642
background
#FEF7F6
surface
#FDEEEB
border
#D5C9C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BA3A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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