#BA3B2B#BA3B2B

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

Color values

HEX#BA3B2B
RGBrgb(186, 59, 43)
HSLhsl(7, 62%, 45%)
HSVhsv(7, 77%, 73%)
CMYKcmyk(0%, 68.3%, 76.9%, 27.1%)
CIE-LABlab(43.86, 50.13, 38.05)
CIE-LCHlch(43.86, 62.93, 37.20°)
OKLaboklab(53.53% 0.1431 0.0841)
OKLCHoklch(53.53% 0.166 30.4)
XYZxyz(22.2522, 13.7448, 3.7663)
Luminance0.1374 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3B2B #2BAABA
analogous
#BA2B63 #BA3B2B #BA822B
triadic
#BA3B2B #2BBA3B #3B2BBA
tetradic
#BA3B2B #63BA2B #2BAABA #822BBA
square
#BA3B2B #63BA2B #2BAABA #822BBA
split-complementary
#BA3B2B #2BBA82 #2B63BA
monochromatic
#571B14 #882B20 #BA3B2B #D65C4C #E1897E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3B2B#FFFFFF#000000##FFFFFF
##BA3B2B1.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)
#605628
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#CD1138
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba3b2b;
/* rgb */ color: rgb(186, 59, 43);
/* oklch */ color: oklch(53.5% 0.166 30.4);
Tailwind
colors: {
  custom: {
    50: '#d77865',
    500: '#ba3b2b',
    950: '#000000',
  },
}
SCSS
$custom: #ba3b2b;
$custom-light: #d77865;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3b2b",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 43
  },
  "hsl": {
    "h": 6.713,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53525,
    "c": 0.16597,
    "h": 30.4
  },
  "luminance": 0.13741
}

Semantic roles & 50–950 ramp

primary
#BA3B2B
secondary
#77C0CA
accent
#D3E642
background
#FEF7F6
surface
#FDEEEB
border
#D5C9C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BA3B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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