#BA3132#BA3132

#BA3132 is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.6% C 0.174 H 25.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#BA3132
RGBrgb(186, 49, 50)
HSLhsl(360, 58%, 46%)
HSVhsv(360, 74%, 73%)
CMYKcmyk(0%, 73.7%, 73.1%, 27.1%)
CIE-LABlab(42.57, 54.21, 32.62)
CIE-LCHlch(42.57, 63.27, 31.04°)
OKLaboklab(52.58% 0.1574 0.074)
OKLCHoklch(52.58% 0.174 25.2)
XYZxyz(21.9262, 12.8694, 4.3465)
Luminance0.1287 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3132 #31BAB9
analogous
#BA3176 #BA3132 #BA7431
triadic
#BA3132 #32BA31 #3132BA
tetradic
#BA3132 #76BA31 #31BAB9 #7431BA
square
#BA3132 #76BA31 #31BAB9 #7431BA
split-complementary
#BA3132 #31BA74 #3176BA
monochromatic
#591718 #8A2425 #BA3132 #D25657 #DF8687

Accessibility & contrast

On white

5.88
#BA3132 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#BA3132 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3132
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3132#FFFFFF#000000##FFFFFF
##BA31321.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595231
Deuteranopia (green-blind)
#7B6F2D
Tritanopia (blue-blind)
#CD0033
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba3132;
/* rgb */ color: rgb(186, 49, 50);
/* oklch */ color: oklch(52.6% 0.174 25.2);
Tailwind
colors: {
  custom: {
    50: '#d7746a',
    500: '#ba3132',
    950: '#000000',
  },
}
SCSS
$custom: #ba3132;
$custom-light: #d7746a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3132",
  "rgb": {
    "r": 186,
    "g": 49,
    "b": 50
  },
  "hsl": {
    "h": 359.562,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52581,
    "c": 0.17392,
    "h": 25.2
  },
  "luminance": 0.12866
}

Semantic roles & 50–950 ramp

primary
#BA3132
secondary
#7EC9C8
accent
#E2E046
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BA3132

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

Preview Lab → · Contrast checker → · Palette generator →

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