#BA332B#BA332B

#BA332B is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.7% C 0.173 H 28.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#BA332B
RGBrgb(186, 51, 43)
HSLhsl(3, 62%, 45%)
HSVhsv(3, 77%, 73%)
CMYKcmyk(0%, 72.6%, 76.9%, 27.1%)
CIE-LABlab(42.74, 53.21, 36.85)
CIE-LCHlch(42.74, 64.72, 34.70°)
OKLaboklab(52.68% 0.1528 0.0815)
OKLCHoklch(52.68% 0.173 28.1)
XYZxyz(21.8721, 12.9845, 3.6396)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA332B #2BB2BA
analogous
#BA2B6A #BA332B #BA7B2B
triadic
#BA332B #2BBA33 #332BBA
tetradic
#BA332B #6ABA2B #2BB2BA #7B2BBA
square
#BA332B #6ABA2B #2BB2BA #7B2BBA
split-complementary
#BA332B #2BBA7B #2B6ABA
monochromatic
#571814 #882520 #BA332B #D6544C #E1847E

Accessibility & contrast

On white

5.84
#BA332B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#BA332B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA332B
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA332B#FFFFFF#000000##FFFFFF
##BA332B1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5229
Deuteranopia (green-blind)
#7D7026
Tritanopia (blue-blind)
#CD0033
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba332b;
/* rgb */ color: rgb(186, 51, 43);
/* oklch */ color: oklch(52.7% 0.173 28.1);
Tailwind
colors: {
  custom: {
    50: '#d87465',
    500: '#ba332b',
    950: '#000000',
  },
}
SCSS
$custom: #ba332b;
$custom-light: #d87465;
$custom-dark: #000000;
JSON
{
  "hex": "#ba332b",
  "rgb": {
    "r": 186,
    "g": 51,
    "b": 43
  },
  "hsl": {
    "h": 3.357,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52684,
    "c": 0.17313,
    "h": 28.1
  },
  "luminance": 0.12981
}

Semantic roles & 50–950 ramp

primary
#BA332B
secondary
#77C5CA
accent
#DCE642
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160905
muted
#847B7A

Preview Lab

Preview with #BA332B

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

Preview Lab → · Contrast checker → · Palette generator →

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