#BA3937#BA3937

#BA3937 is a mid, vivid red. Relative luminance 0.136; OKLCH L 53.5% C 0.166 H 25.5°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#BA3937
RGBrgb(186, 57, 55)
HSLhsl(1, 54%, 47%)
HSVhsv(1, 70%, 73%)
CMYKcmyk(0%, 69.4%, 70.4%, 27.1%)
CIE-LABlab(43.72, 51.46, 31.02)
CIE-LCHlch(43.72, 60.09, 31.08°)
OKLaboklab(53.46% 0.1498 0.0714)
OKLCHoklch(53.46% 0.166 25.5)
XYZxyz(22.4048, 13.6445, 5.0676)
Luminance0.1364 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3937 #37B8BA
analogous
#BA3777 #BA3937 #BA7B37
triadic
#BA3937 #37BA39 #3937BA
tetradic
#BA3937 #77BA37 #37B8BA #7B37BA
square
#BA3937 #77BA37 #37B8BA #7B37BA
split-complementary
#BA3937 #37BA7B #3777BA
monochromatic
#5C1C1B #8B2B29 #BA3937 #D0605F #DE8F8E

Accessibility & contrast

On white

5.63
#BA3937 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#BA3937 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3937
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3937#FFFFFF#000000##FFFFFF
##BA39371.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5636
Deuteranopia (green-blind)
#7E7233
Tritanopia (blue-blind)
#CC103A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba3937;
/* rgb */ color: rgb(186, 57, 55);
/* oklch */ color: oklch(53.5% 0.166 25.5);
Tailwind
colors: {
  custom: {
    50: '#d7776e',
    500: '#ba3937',
    950: '#000000',
  },
}
SCSS
$custom: #ba3937;
$custom-light: #d7776e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3937",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 55
  },
  "hsl": {
    "h": 0.916,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53463,
    "c": 0.16593,
    "h": 25.5
  },
  "luminance": 0.13641
}

Semantic roles & 50–950 ramp

primary
#BA3937
secondary
#85C7C8
accent
#DBDE4A
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160907
muted
#847B7A

Preview Lab

Preview with #BA3937

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

Preview Lab → · Contrast checker → · Palette generator →

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