#BA3136#BA3136

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

Color values

HEX#BA3136
RGBrgb(186, 49, 54)
HSLhsl(358, 58%, 46%)
HSVhsv(358, 74%, 73%)
CMYKcmyk(0%, 73.7%, 71%, 27.1%)
CIE-LABlab(42.62, 54.40, 30.31)
CIE-LCHlch(42.62, 62.27, 29.13°)
OKLaboklab(52.64% 0.1589 0.0697)
OKLCHoklch(52.64% 0.173 23.7)
XYZxyz(22.0163, 12.9054, 4.8210)
Luminance0.1290 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3136 #31BAB5
analogous
#BA317A #BA3136 #BA7031
triadic
#BA3136 #36BA31 #3136BA
tetradic
#BA3136 #7ABA31 #31BAB5 #7031BA
square
#BA3136 #7ABA31 #31BAB5 #7031BA
split-complementary
#BA3136 #31BA70 #317ABA
monochromatic
#59171A #8A2428 #BA3136 #D2565A #DF8689

Accessibility & contrast

On white

5.87
#BA3136 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#BA3136 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3136
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3136#FFFFFF#000000##FFFFFF
##BA31361.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595235
Deuteranopia (green-blind)
#7B6F31
Tritanopia (blue-blind)
#CD0034
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba3136;
/* rgb */ color: rgb(186, 49, 54);
/* oklch */ color: oklch(52.6% 0.173 23.7);
Tailwind
colors: {
  custom: {
    50: '#d7746d',
    500: '#ba3136',
    950: '#000000',
  },
}
SCSS
$custom: #ba3136;
$custom-light: #d7746d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3136",
  "rgb": {
    "r": 186,
    "g": 49,
    "b": 54
  },
  "hsl": {
    "h": 357.81,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52639,
    "c": 0.17348,
    "h": 23.7
  },
  "luminance": 0.12902
}

Semantic roles & 50–950 ramp

primary
#BA3136
secondary
#7EC9C6
accent
#E2DC46
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160907
muted
#847B7A

Preview Lab

Preview with #BA3136

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

Preview Lab → · Contrast checker → · Palette generator →

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