#BA332A#BA332A

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

Color values

HEX#BA332A
RGBrgb(186, 51, 42)
HSLhsl(4, 63%, 45%)
HSVhsv(4, 77%, 73%)
CMYKcmyk(0%, 72.6%, 77.4%, 27.1%)
CIE-LABlab(42.73, 53.17, 37.40)
CIE-LCHlch(42.73, 65.01, 35.12°)
OKLaboklab(52.67% 0.1525 0.0824)
OKLCHoklch(52.67% 0.173 28.4)
XYZxyz(21.8540, 12.9773, 3.5442)
Luminance0.1297 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA332A #2AB1BA
analogous
#BA2A69 #BA332A #BA7B2A
triadic
#BA332A #2ABA33 #332ABA
tetradic
#BA332A #69BA2A #2AB1BA #7B2ABA
square
#BA332A #69BA2A #2AB1BA #7B2ABA
split-complementary
#BA332A #2ABA7B #2A69BA
monochromatic
#561813 #88251F #BA332A #D6544B #E2837D

Accessibility & contrast

On white

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

On black

3.59
#BA332A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA332A#FFFFFF#000000##FFFFFF
##BA332A1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba332a;
/* rgb */ color: rgb(186, 51, 42);
/* oklch */ color: oklch(52.7% 0.173 28.4);
Tailwind
colors: {
  custom: {
    50: '#d87464',
    500: '#ba332a',
    950: '#000000',
  },
}
SCSS
$custom: #ba332a;
$custom-light: #d87464;
$custom-dark: #000000;
JSON
{
  "hex": "#ba332a",
  "rgb": {
    "r": 186,
    "g": 51,
    "b": 42
  },
  "hsl": {
    "h": 3.75,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52672,
    "c": 0.17328,
    "h": 28.4
  },
  "luminance": 0.12974
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA332A

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

Preview Lab → · Contrast checker → · Palette generator →

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