#BA322B#BA322B

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

Color values

HEX#BA322B
RGBrgb(186, 50, 43)
HSLhsl(3, 62%, 45%)
HSVhsv(3, 77%, 73%)
CMYKcmyk(0%, 73.1%, 76.9%, 27.1%)
CIE-LABlab(42.61, 53.57, 36.71)
CIE-LCHlch(42.61, 64.94, 34.42°)
OKLaboklab(52.59% 0.1539 0.0812)
OKLCHoklch(52.59% 0.174 27.8)
XYZxyz(21.8289, 12.8981, 3.6252)
Luminance0.1290 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA322B #2BB3BA
analogous
#BA2B6C #BA322B #BA792B
triadic
#BA322B #2BBA32 #322BBA
tetradic
#BA322B #6CBA2B #2BB3BA #792BBA
square
#BA322B #6CBA2B #2BB3BA #792BBA
split-complementary
#BA322B #2BBA79 #2B6CBA
monochromatic
#571714 #882520 #BA322B #D6534C #E1837E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA322B#FFFFFF#000000##FFFFFF
##BA322B1.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)
#5A5229
Deuteranopia (green-blind)
#7C6F26
Tritanopia (blue-blind)
#CD0032
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba322b;
/* rgb */ color: rgb(186, 50, 43);
/* oklch */ color: oklch(52.6% 0.174 27.8);
Tailwind
colors: {
  custom: {
    50: '#d87465',
    500: '#ba322b',
    950: '#000000',
  },
}
SCSS
$custom: #ba322b;
$custom-light: #d87465;
$custom-dark: #000000;
JSON
{
  "hex": "#ba322b",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 43
  },
  "hsl": {
    "h": 2.937,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52586,
    "c": 0.17399,
    "h": 27.8
  },
  "luminance": 0.12895
}

Semantic roles & 50–950 ramp

primary
#BA322B
secondary
#77C6CA
accent
#DEE642
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160905
muted
#847B7A

Preview Lab

Preview with #BA322B

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

Preview Lab → · Contrast checker → · Palette generator →

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