#BA3939#BA3939

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

Color values

HEX#BA3939
RGBrgb(186, 57, 57)
HSLhsl(0, 53%, 48%)
HSVhsv(0, 69%, 73%)
CMYKcmyk(0%, 69.4%, 69.4%, 27.1%)
CIE-LABlab(43.75, 51.56, 29.87)
CIE-LCHlch(43.75, 59.59, 30.09°)
OKLaboklab(53.49% 0.1505 0.0692)
OKLCHoklch(53.49% 0.166 24.7)
XYZxyz(22.4538, 13.6640, 5.3252)
Luminance0.1366 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3939 #39BABA
analogous
#BA3979 #BA3939 #BA7939
triadic
#BA3939 #39BA39 #3939BA
tetradic
#BA3939 #79BA39 #39BABA #7939BA
square
#BA3939 #79BA39 #39BABA #7939BA
split-complementary
#BA3939 #39BA79 #3979BA
monochromatic
#5C1C1C #8B2B2B #BA3939 #CF6161 #DD9090

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3939#FFFFFF#000000##FFFFFF
##BA39391.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)
#5D5638
Deuteranopia (green-blind)
#7D7235
Tritanopia (blue-blind)
#CC113B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba3939;
/* rgb */ color: rgb(186, 57, 57);
/* oklch */ color: oklch(53.5% 0.166 24.7);
Tailwind
colors: {
  custom: {
    50: '#d6776f',
    500: '#ba3939',
    950: '#000000',
  },
}
SCSS
$custom: #ba3939;
$custom-light: #d6776f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3939",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 57
  },
  "hsl": {
    "h": 0,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53494,
    "c": 0.16567,
    "h": 24.7
  },
  "luminance": 0.13661
}

Semantic roles & 50–950 ramp

primary
#BA3939
secondary
#87C8C8
accent
#DCDC4B
background
#FEF7F6
surface
#FCEEEC
border
#D5C9C7
text
#160907
muted
#847B7A

Preview Lab

Preview with #BA3939

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

Preview Lab → · Contrast checker → · Palette generator →

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