#BA3938#BA3938

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

Color values

HEX#BA3938
RGBrgb(186, 57, 56)
HSLhsl(0, 54%, 47%)
HSVhsv(0, 70%, 73%)
CMYKcmyk(0%, 69.4%, 69.9%, 27.1%)
CIE-LABlab(43.73, 51.51, 30.45)
CIE-LCHlch(43.73, 59.84, 30.59°)
OKLaboklab(53.48% 0.1502 0.0703)
OKLCHoklch(53.48% 0.166 25.1)
XYZxyz(22.4291, 13.6542, 5.1951)
Luminance0.1365 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3938 #38B9BA
analogous
#BA3878 #BA3938 #BA7A38
triadic
#BA3938 #38BA39 #3938BA
tetradic
#BA3938 #78BA38 #38B9BA #7A38BA
square
#BA3938 #78BA38 #38B9BA #7A38BA
split-complementary
#BA3938 #38BA7A #3878BA
monochromatic
#5C1C1C #8B2B2A #BA3938 #CF6160 #DD908F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3938#FFFFFF#000000##FFFFFF
##BA39381.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)
#5D5637
Deuteranopia (green-blind)
#7D7234
Tritanopia (blue-blind)
#CC113A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba3938;
/* rgb */ color: rgb(186, 57, 56);
/* oklch */ color: oklch(53.5% 0.166 25.1);
Tailwind
colors: {
  custom: {
    50: '#d6776f',
    500: '#ba3938',
    950: '#000000',
  },
}
SCSS
$custom: #ba3938;
$custom-light: #d6776f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3938",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 56
  },
  "hsl": {
    "h": 0.462,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53478,
    "c": 0.1658,
    "h": 25.1
  },
  "luminance": 0.13651
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3938

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

Preview Lab → · Contrast checker → · Palette generator →

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