#BA3031#BA3031

#BA3031 is a mid, vivid red. Relative luminance 0.128; OKLCH L 52.5% C 0.175 H 25.3°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#BA3031
RGBrgb(186, 48, 49)
HSLhsl(360, 59%, 46%)
HSVhsv(360, 74%, 73%)
CMYKcmyk(0%, 74.2%, 73.7%, 27.1%)
CIE-LABlab(42.43, 54.52, 33.05)
CIE-LCHlch(42.43, 63.75, 31.23°)
OKLaboklab(52.47% 0.1582 0.0747)
OKLCHoklch(52.47% 0.175 25.3)
XYZxyz(21.8635, 12.7781, 4.2203)
Luminance0.1278 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3031 #30BAB9
analogous
#BA3076 #BA3031 #BA7430
triadic
#BA3031 #31BA30 #3031BA
tetradic
#BA3031 #76BA30 #30BAB9 #7430BA
square
#BA3031 #76BA30 #30BAB9 #7430BA
split-complementary
#BA3031 #30BA74 #3076BA
monochromatic
#591717 #892324 #BA3031 #D35455 #DF8586

Accessibility & contrast

On white

5.91
#BA3031 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#BA3031 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3031
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3031#FFFFFF#000000##FFFFFF
##BA30311.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59512F
Deuteranopia (green-blind)
#7B6F2C
Tritanopia (blue-blind)
#CD0032
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba3031;
/* rgb */ color: rgb(186, 48, 49);
/* oklch */ color: oklch(52.5% 0.175 25.3);
Tailwind
colors: {
  custom: {
    50: '#d77369',
    500: '#ba3031',
    950: '#000000',
  },
}
SCSS
$custom: #ba3031;
$custom-light: #d77369;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3031",
  "rgb": {
    "r": 186,
    "g": 48,
    "b": 49
  },
  "hsl": {
    "h": 359.565,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52473,
    "c": 0.17491,
    "h": 25.3
  },
  "luminance": 0.12775
}

Semantic roles & 50–950 ramp

primary
#BA3031
secondary
#7DC9C8
accent
#E2E146
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BA3031

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

Preview Lab → · Contrast checker → · Palette generator →

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