#BA3837#BA3837

#BA3837 is a mid, vivid red. Relative luminance 0.135; OKLCH L 53.4% C 0.167 H 25.2°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#BA3837
RGBrgb(186, 56, 55)
HSLhsl(0, 54%, 47%)
HSVhsv(0, 70%, 73%)
CMYKcmyk(0%, 69.9%, 70.4%, 27.1%)
CIE-LABlab(43.58, 51.85, 30.85)
CIE-LCHlch(43.58, 60.34, 30.75°)
OKLaboklab(53.36% 0.151 0.071)
OKLCHoklch(53.36% 0.167 25.2)
XYZxyz(22.3559, 13.5466, 5.0513)
Luminance0.1354 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3837 #37B9BA
analogous
#BA3778 #BA3837 #BA7A37
triadic
#BA3837 #37BA38 #3837BA
tetradic
#BA3837 #78BA37 #37B9BA #7A37BA
square
#BA3837 #78BA37 #37B9BA #7A37BA
split-complementary
#BA3837 #37BA7A #3778BA
monochromatic
#5C1C1B #8B2A29 #BA3837 #D05F5F #DE8E8E

Accessibility & contrast

On white

5.66
#BA3837 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#BA3837 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3837
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3837#FFFFFF#000000##FFFFFF
##BA38371.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5536
Deuteranopia (green-blind)
#7D7133
Tritanopia (blue-blind)
#CC0D39
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba3837;
/* rgb */ color: rgb(186, 56, 55);
/* oklch */ color: oklch(53.4% 0.167 25.2);
Tailwind
colors: {
  custom: {
    50: '#d7776e',
    500: '#ba3837',
    950: '#000000',
  },
}
SCSS
$custom: #ba3837;
$custom-light: #d7776e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3837",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 55
  },
  "hsl": {
    "h": 0.458,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53356,
    "c": 0.16689,
    "h": 25.2
  },
  "luminance": 0.13543
}

Semantic roles & 50–950 ramp

primary
#BA3837
secondary
#85C8C8
accent
#DDDE4A
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160907
muted
#847B7A

Preview Lab

Preview with #BA3837

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

Preview Lab → · Contrast checker → · Palette generator →

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