#BA3137#BA3137

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

Color values

HEX#BA3137
RGBrgb(186, 49, 55)
HSLhsl(357, 58%, 46%)
HSVhsv(357, 74%, 73%)
CMYKcmyk(0%, 73.7%, 70.4%, 27.1%)
CIE-LABlab(42.63, 54.45, 29.73)
CIE-LCHlch(42.63, 62.04, 28.64°)
OKLaboklab(52.65% 0.1592 0.0686)
OKLCHoklch(52.65% 0.173 23.3)
XYZxyz(22.0401, 12.9149, 4.9460)
Luminance0.1291 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3137 #31BAB4
analogous
#BA317B #BA3137 #BA6F31
triadic
#BA3137 #37BA31 #3137BA
tetradic
#BA3137 #7BBA31 #31BAB4 #6F31BA
square
#BA3137 #7BBA31 #31BAB4 #6F31BA
split-complementary
#BA3137 #31BA6F #317BBA
monochromatic
#59171A #8A2429 #BA3137 #D2565B #DF868A

Accessibility & contrast

On white

5.86
#BA3137 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA3137
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3137#FFFFFF#000000##FFFFFF
##BA31371.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595236
Deuteranopia (green-blind)
#7B6F33
Tritanopia (blue-blind)
#CD0035
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba3137;
/* rgb */ color: rgb(186, 49, 55);
/* oklch */ color: oklch(52.7% 0.173 23.3);
Tailwind
colors: {
  custom: {
    50: '#d7746e',
    500: '#ba3137',
    950: '#000000',
  },
}
SCSS
$custom: #ba3137;
$custom-light: #d7746e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3137",
  "rgb": {
    "r": 186,
    "g": 49,
    "b": 55
  },
  "hsl": {
    "h": 357.372,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52654,
    "c": 0.17338,
    "h": 23.3
  },
  "luminance": 0.12912
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3137

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

Preview Lab → · Contrast checker → · Palette generator →

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