#BA3333#BA3333

#BA3333 is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.8% C 0.172 H 25.3°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#BA3333
RGBrgb(186, 51, 51)
HSLhsl(0, 57%, 46%)
HSVhsv(0, 73%, 73%)
CMYKcmyk(0%, 72.6%, 72.6%, 27.1%)
CIE-LABlab(42.84, 53.54, 32.35)
CIE-LCHlch(42.84, 62.56, 31.14°)
OKLaboklab(52.79% 0.1555 0.0736)
OKLCHoklch(52.79% 0.172 25.3)
XYZxyz(22.0336, 13.0491, 4.4899)
Luminance0.1305 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3333 #33BABA
analogous
#BA3377 #BA3333 #BA7733
triadic
#BA3333 #33BA33 #3333BA
tetradic
#BA3333 #77BA33 #33BABA #7733BA
square
#BA3333 #77BA33 #33BABA #7733BA
split-complementary
#BA3333 #33BA77 #3377BA
monochromatic
#5A1919 #8A2626 #BA3333 #D15959 #DF8989

Accessibility & contrast

On white

5.82
#BA3333 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#BA3333 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3333
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3333#FFFFFF#000000##FFFFFF
##BA33331.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5332
Deuteranopia (green-blind)
#7C702E
Tritanopia (blue-blind)
#CD0035
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba3333;
/* rgb */ color: rgb(186, 51, 51);
/* oklch */ color: oklch(52.8% 0.172 25.3);
Tailwind
colors: {
  custom: {
    50: '#d7746b',
    500: '#ba3333',
    950: '#000000',
  },
}
SCSS
$custom: #ba3333;
$custom-light: #d7746b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3333",
  "rgb": {
    "r": 186,
    "g": 51,
    "b": 51
  },
  "hsl": {
    "h": 0,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52787,
    "c": 0.17204,
    "h": 25.3
  },
  "luminance": 0.13046
}

Semantic roles & 50–950 ramp

primary
#BA3333
secondary
#80C9C9
accent
#E0E048
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BA3333

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

Preview Lab → · Contrast checker → · Palette generator →

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