#BA3331#BA3331

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

Color values

HEX#BA3331
RGBrgb(186, 51, 49)
HSLhsl(1, 58%, 46%)
HSVhsv(1, 74%, 73%)
CMYKcmyk(0%, 72.6%, 73.7%, 27.1%)
CIE-LABlab(42.81, 53.45, 33.49)
CIE-LCHlch(42.81, 63.08, 32.07°)
OKLaboklab(52.76% 0.1548 0.0756)
OKLCHoklch(52.76% 0.172 26)
XYZxyz(21.9904, 13.0319, 4.2626)
Luminance0.1303 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3331 #31B8BA
analogous
#BA3173 #BA3331 #BA7731
triadic
#BA3331 #31BA33 #3331BA
tetradic
#BA3331 #73BA31 #31B8BA #7731BA
square
#BA3331 #73BA31 #31B8BA #7731BA
split-complementary
#BA3331 #31BA77 #3173BA
monochromatic
#591817 #8A2624 #BA3331 #D25856 #DF8886

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3331#FFFFFF#000000##FFFFFF
##BA33311.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)
#5A522F
Deuteranopia (green-blind)
#7C702C
Tritanopia (blue-blind)
#CD0034
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba3331;
/* rgb */ color: rgb(186, 51, 49);
/* oklch */ color: oklch(52.8% 0.172 26.0);
Tailwind
colors: {
  custom: {
    50: '#d77469',
    500: '#ba3331',
    950: '#000000',
  },
}
SCSS
$custom: #ba3331;
$custom-light: #d77469;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3331",
  "rgb": {
    "r": 186,
    "g": 51,
    "b": 49
  },
  "hsl": {
    "h": 0.876,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5276,
    "c": 0.17229,
    "h": 26
  },
  "luminance": 0.13029
}

Semantic roles & 50–950 ramp

primary
#BA3331
secondary
#7EC8C9
accent
#DFE246
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BA3331

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

Preview Lab → · Contrast checker → · Palette generator →

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