#BA3839#BA3839

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

Color values

HEX#BA3839
RGBrgb(186, 56, 57)
HSLhsl(360, 54%, 47%)
HSVhsv(360, 70%, 73%)
CMYKcmyk(0%, 69.9%, 69.4%, 27.1%)
CIE-LABlab(43.60, 51.95, 29.70)
CIE-LCHlch(43.60, 59.84, 29.76°)
OKLaboklab(53.39% 0.1518 0.0688)
OKLCHoklch(53.39% 0.167 24.4)
XYZxyz(22.4048, 13.5661, 5.3089)
Luminance0.1356 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3839 #38BAB9
analogous
#BA387A #BA3839 #BA7838
triadic
#BA3839 #39BA38 #3839BA
tetradic
#BA3839 #7ABA38 #38BAB9 #7838BA
square
#BA3839 #7ABA38 #38BAB9 #7838BA
split-complementary
#BA3839 #38BA78 #387ABA
monochromatic
#5C1C1C #8B2A2B #BA3839 #CF6061 #DD8F90

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3839#FFFFFF#000000##FFFFFF
##BA38391.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)
#5C5538
Deuteranopia (green-blind)
#7D7135
Tritanopia (blue-blind)
#CC0E3A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba3839;
/* rgb */ color: rgb(186, 56, 57);
/* oklch */ color: oklch(53.4% 0.167 24.4);
Tailwind
colors: {
  custom: {
    50: '#d6776f',
    500: '#ba3839',
    950: '#000000',
  },
}
SCSS
$custom: #ba3839;
$custom-light: #d6776f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3839",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 57
  },
  "hsl": {
    "h": 359.538,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53387,
    "c": 0.16664,
    "h": 24.4
  },
  "luminance": 0.13563
}

Semantic roles & 50–950 ramp

primary
#BA3839
secondary
#86C8C8
accent
#DDDC4B
background
#FEF7F6
surface
#FCEEEC
border
#D5C9C7
text
#160907
muted
#847B7A

Preview Lab

Preview with #BA3839

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

Preview Lab → · Contrast checker → · Palette generator →

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