#BA3B2C#BA3B2C

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

Color values

HEX#BA3B2C
RGBrgb(186, 59, 44)
HSLhsl(6, 62%, 45%)
HSVhsv(6, 76%, 73%)
CMYKcmyk(0%, 68.3%, 76.3%, 27.1%)
CIE-LABlab(43.88, 50.17, 37.51)
CIE-LCHlch(43.88, 62.64, 36.79°)
OKLaboklab(53.54% 0.1434 0.0832)
OKLCHoklch(53.54% 0.166 30.1)
XYZxyz(22.2708, 13.7522, 3.8641)
Luminance0.1375 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3B2C #2CABBA
analogous
#BA2C64 #BA3B2C #BA822C
triadic
#BA3B2C #2CBA3B #3B2CBA
tetradic
#BA3B2C #64BA2C #2CABBA #822CBA
square
#BA3B2C #64BA2C #2CABBA #822CBA
split-complementary
#BA3B2C #2CBA82 #2C64BA
monochromatic
#571C15 #892B20 #BA3B2C #D55C4E #E18A80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3B2C#FFFFFF#000000##FFFFFF
##BA3B2C1.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)
#5F5629
Deuteranopia (green-blind)
#7F7227
Tritanopia (blue-blind)
#CD1238
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba3b2c;
/* rgb */ color: rgb(186, 59, 44);
/* oklch */ color: oklch(53.5% 0.166 30.1);
Tailwind
colors: {
  custom: {
    50: '#d77866',
    500: '#ba3b2c',
    950: '#000000',
  },
}
SCSS
$custom: #ba3b2c;
$custom-light: #d77866;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3b2c",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 44
  },
  "hsl": {
    "h": 6.338,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53537,
    "c": 0.1658,
    "h": 30.1
  },
  "luminance": 0.13749
}

Semantic roles & 50–950 ramp

primary
#BA3B2C
secondary
#78C1CA
accent
#D4E543
background
#FEF7F6
surface
#FDEEEB
border
#D5C9C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BA3B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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