#BA322E#BA322E

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

Color values

HEX#BA322E
RGBrgb(186, 50, 46)
HSLhsl(2, 60%, 45%)
HSVhsv(2, 75%, 73%)
CMYKcmyk(0%, 73.1%, 75.3%, 27.1%)
CIE-LABlab(42.64, 53.69, 35.04)
CIE-LCHlch(42.64, 64.11, 33.13°)
OKLaboklab(52.62% 0.1549 0.0783)
OKLCHoklch(52.62% 0.174 26.8)
XYZxyz(21.8860, 12.9209, 3.9258)
Luminance0.1292 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA322E #2EB6BA
analogous
#BA2E70 #BA322E #BA782E
triadic
#BA322E #2EBA32 #322EBA
tetradic
#BA322E #70BA2E #2EB6BA #782EBA
square
#BA322E #70BA2E #2EB6BA #782EBA
split-complementary
#BA322E #2EBA78 #2E70BA
monochromatic
#581816 #892522 #BA322E #D45551 #E08582

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA322E#FFFFFF#000000##FFFFFF
##BA322E1.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)
#5A522C
Deuteranopia (green-blind)
#7C6F29
Tritanopia (blue-blind)
#CD0033
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba322e;
/* rgb */ color: rgb(186, 50, 46);
/* oklch */ color: oklch(52.6% 0.174 26.8);
Tailwind
colors: {
  custom: {
    50: '#d77467',
    500: '#ba322e',
    950: '#000000',
  },
}
SCSS
$custom: #ba322e;
$custom-light: #d77467;
$custom-dark: #000000;
JSON
{
  "hex": "#ba322e",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 46
  },
  "hsl": {
    "h": 1.714,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52623,
    "c": 0.17357,
    "h": 26.8
  },
  "luminance": 0.12918
}

Semantic roles & 50–950 ramp

primary
#BA322E
secondary
#7BC7C9
accent
#DFE344
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BA322E

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

Preview Lab → · Contrast checker → · Palette generator →

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