#BA3B3A#BA3B3A

#BA3B3A is a mid, vivid red. Relative luminance 0.139; OKLCH L 53.7% C 0.164 H 24.9°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#BA3B3A
RGBrgb(186, 59, 58)
HSLhsl(0, 52%, 48%)
HSVhsv(0, 69%, 73%)
CMYKcmyk(0%, 68.3%, 68.8%, 27.1%)
CIE-LABlab(44.05, 50.81, 29.65)
CIE-LCHlch(44.05, 58.83, 30.26°)
OKLaboklab(53.73% 0.1484 0.0689)
OKLCHoklch(53.73% 0.164 24.9)
XYZxyz(22.5798, 13.8758, 5.4915)
Luminance0.1387 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3B3A #3AB9BA
analogous
#BA3A79 #BA3B3A #BA7B3A
triadic
#BA3B3A #3ABA3B #3B3ABA
tetradic
#BA3B3A #79BA3A #3AB9BA #7B3ABA
square
#BA3B3A #79BA3A #3AB9BA #7B3ABA
split-complementary
#BA3B3A #3ABA7B #3A79BA
monochromatic
#5D1D1D #8B2C2B #BA3B3A #CE6463 #DD9292

Accessibility & contrast

On white

5.56
#BA3B3A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#BA3B3A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3B3A
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3B3A#FFFFFF#000000##FFFFFF
##BA3B3A1.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5739
Deuteranopia (green-blind)
#7E7236
Tritanopia (blue-blind)
#CC173C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba3b3a;
/* rgb */ color: rgb(186, 59, 58);
/* oklch */ color: oklch(53.7% 0.164 24.9);
Tailwind
colors: {
  custom: {
    50: '#d67970',
    500: '#ba3b3a',
    950: '#000000',
  },
}
SCSS
$custom: #ba3b3a;
$custom-light: #d67970;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3b3a",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 58
  },
  "hsl": {
    "h": 0.469,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53728,
    "c": 0.16358,
    "h": 24.9
  },
  "luminance": 0.13873
}

Semantic roles & 50–950 ramp

primary
#BA3B3A
secondary
#88C7C8
accent
#DBDC4C
background
#FEF7F6
surface
#FCEEEC
border
#D5C9C7
text
#160907
muted
#847B7A

Preview Lab

Preview with #BA3B3A

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

Preview Lab → · Contrast checker → · Palette generator →

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