#BA333C#BA333C

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

Color values

HEX#BA333C
RGBrgb(186, 51, 60)
HSLhsl(356, 57%, 46%)
HSVhsv(356, 73%, 73%)
CMYKcmyk(0%, 72.6%, 67.7%, 27.1%)
CIE-LABlab(42.97, 53.99, 27.12)
CIE-LCHlch(42.97, 60.42, 26.67°)
OKLaboklab(52.93% 0.1589 0.0636)
OKLCHoklch(52.93% 0.171 21.8)
XYZxyz(22.2515, 13.1363, 5.6380)
Luminance0.1313 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA333C #33BAB1
analogous
#BA3380 #BA333C #BA6E33
triadic
#BA333C #3CBA33 #333CBA
tetradic
#BA333C #80BA33 #33BAB1 #6E33BA
square
#BA333C #80BA33 #33BAB1 #6E33BA
split-complementary
#BA333C #33BA6E #3380BA
monochromatic
#5A191D #8A262D #BA333C #D15961 #DF898F

Accessibility & contrast

On white

5.79
#BA333C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#BA333C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA333C
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA333C#FFFFFF#000000##FFFFFF
##BA333C1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59533B
Deuteranopia (green-blind)
#7B7038
Tritanopia (blue-blind)
#CC0038
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba333c;
/* rgb */ color: rgb(186, 51, 60);
/* oklch */ color: oklch(52.9% 0.171 21.8);
Tailwind
colors: {
  custom: {
    50: '#d67571',
    500: '#ba333c',
    950: '#000000',
  },
}
SCSS
$custom: #ba333c;
$custom-light: #d67571;
$custom-dark: #000000;
JSON
{
  "hex": "#ba333c",
  "rgb": {
    "r": 186,
    "g": 51,
    "b": 60
  },
  "hsl": {
    "h": 356,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52927,
    "c": 0.17111,
    "h": 21.8
  },
  "luminance": 0.13133
}

Semantic roles & 50–950 ramp

primary
#BA333C
secondary
#80C9C4
accent
#E0D648
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160907
muted
#847B7A

Preview Lab

Preview with #BA333C

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

Preview Lab → · Contrast checker → · Palette generator →

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