#BA333A#BA333A

#BA333A is a mid, vivid red. Relative luminance 0.131; OKLCH L 52.9% C 0.171 H 22.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#BA333A
RGBrgb(186, 51, 58)
HSLhsl(357, 57%, 46%)
HSVhsv(357, 73%, 73%)
CMYKcmyk(0%, 72.6%, 68.8%, 27.1%)
CIE-LABlab(42.94, 53.88, 28.29)
CIE-LCHlch(42.94, 60.86, 27.70°)
OKLaboklab(52.89% 0.1581 0.0659)
OKLCHoklch(52.89% 0.171 22.6)
XYZxyz(22.1997, 13.1156, 5.3648)
Luminance0.1311 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA333A #33BAB3
analogous
#BA337E #BA333A #BA7033
triadic
#BA333A #3ABA33 #333ABA
tetradic
#BA333A #7EBA33 #33BAB3 #7033BA
square
#BA333A #7EBA33 #33BAB3 #7033BA
split-complementary
#BA333A #33BA70 #337EBA
monochromatic
#5A191C #8A262B #BA333A #D1595F #DF898D

Accessibility & contrast

On white

5.80
#BA333A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#BA333A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA333A
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA333A#FFFFFF#000000##FFFFFF
##BA333A1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595339
Deuteranopia (green-blind)
#7B7036
Tritanopia (blue-blind)
#CC0037
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba333a;
/* rgb */ color: rgb(186, 51, 58);
/* oklch */ color: oklch(52.9% 0.171 22.6);
Tailwind
colors: {
  custom: {
    50: '#d77570',
    500: '#ba333a',
    950: '#000000',
  },
}
SCSS
$custom: #ba333a;
$custom-light: #d77570;
$custom-dark: #000000;
JSON
{
  "hex": "#ba333a",
  "rgb": {
    "r": 186,
    "g": 51,
    "b": 58
  },
  "hsl": {
    "h": 356.889,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52894,
    "c": 0.17128,
    "h": 22.6
  },
  "luminance": 0.13112
}

Semantic roles & 50–950 ramp

primary
#BA333A
secondary
#80C9C5
accent
#E0D848
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160907
muted
#847B7A

Preview Lab

Preview with #BA333A

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

Preview Lab → · Contrast checker → · Palette generator →

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