#BA322D#BA322D

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

Color values

HEX#BA322D
RGBrgb(186, 50, 45)
HSLhsl(2, 61%, 45%)
HSVhsv(2, 76%, 73%)
CMYKcmyk(0%, 73.1%, 75.8%, 27.1%)
CIE-LABlab(42.63, 53.65, 35.60)
CIE-LCHlch(42.63, 64.38, 33.57°)
OKLaboklab(52.61% 0.1546 0.0793)
OKLCHoklch(52.61% 0.174 27.1)
XYZxyz(21.8665, 12.9131, 3.8232)
Luminance0.1291 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA322D #2DB5BA
analogous
#BA2D6E #BA322D #BA792D
triadic
#BA322D #2DBA32 #322DBA
tetradic
#BA322D #6EBA2D #2DB5BA #792DBA
square
#BA322D #6EBA2D #2DB5BA #792DBA
split-complementary
#BA322D #2DBA79 #2D6EBA
monochromatic
#571815 #892521 #BA322D #D55450 #E08481

Accessibility & contrast

On white

5.86
#BA322D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA322D
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA322D#FFFFFF#000000##FFFFFF
##BA322D1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba322d;
/* rgb */ color: rgb(186, 50, 45);
/* oklch */ color: oklch(52.6% 0.174 27.1);
Tailwind
colors: {
  custom: {
    50: '#d77466',
    500: '#ba322d',
    950: '#000000',
  },
}
SCSS
$custom: #ba322d;
$custom-light: #d77466;
$custom-dark: #000000;
JSON
{
  "hex": "#ba322d",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 45
  },
  "hsl": {
    "h": 2.128,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5261,
    "c": 0.17371,
    "h": 27.1
  },
  "luminance": 0.1291
}

Semantic roles & 50–950 ramp

primary
#BA322D
secondary
#79C7C9
accent
#DEE444
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BA322D

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

Preview Lab → · Contrast checker → · Palette generator →

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