#BA322A#BA322A

#BA322A is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.6% C 0.174 H 28.1°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#BA322A
RGBrgb(186, 50, 42)
HSLhsl(3, 63%, 45%)
HSVhsv(3, 77%, 73%)
CMYKcmyk(0%, 73.1%, 77.4%, 27.1%)
CIE-LABlab(42.60, 53.53, 37.26)
CIE-LCHlch(42.60, 65.22, 34.84°)
OKLaboklab(52.58% 0.1536 0.0821)
OKLCHoklch(52.58% 0.174 28.1)
XYZxyz(21.8108, 12.8908, 3.5298)
Luminance0.1289 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA322A #2AB2BA
analogous
#BA2A6A #BA322A #BA7A2A
triadic
#BA322A #2ABA32 #322ABA
tetradic
#BA322A #6ABA2A #2AB2BA #7A2ABA
square
#BA322A #6ABA2A #2AB2BA #7A2ABA
split-complementary
#BA322A #2ABA7A #2A6ABA
monochromatic
#561713 #88251F #BA322A #D6534B #E2827D

Accessibility & contrast

On white

5.87
#BA322A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#BA322A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA322A
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA322A#FFFFFF#000000##FFFFFF
##BA322A1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5228
Deuteranopia (green-blind)
#7C6F24
Tritanopia (blue-blind)
#CD0032
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba322a;
/* rgb */ color: rgb(186, 50, 42);
/* oklch */ color: oklch(52.6% 0.174 28.1);
Tailwind
colors: {
  custom: {
    50: '#d87464',
    500: '#ba322a',
    950: '#000000',
  },
}
SCSS
$custom: #ba322a;
$custom-light: #d87464;
$custom-dark: #000000;
JSON
{
  "hex": "#ba322a",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 42
  },
  "hsl": {
    "h": 3.333,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52575,
    "c": 0.17413,
    "h": 28.1
  },
  "luminance": 0.12887
}

Semantic roles & 50–950 ramp

primary
#BA322A
secondary
#76C5CA
accent
#DDE642
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160905
muted
#847B7A

Preview Lab

Preview with #BA322A

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

Preview Lab → · Contrast checker → · Palette generator →

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