#BA3A3A#BA3A3A

#BA3A3A is a mid, vivid red. Relative luminance 0.138; OKLCH L 53.6% C 0.165 H 24.6°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#BA3A3A
RGBrgb(186, 58, 58)
HSLhsl(0, 52%, 48%)
HSVhsv(0, 69%, 73%)
CMYKcmyk(0%, 68.8%, 68.8%, 27.1%)
CIE-LABlab(43.91, 51.22, 29.47)
CIE-LCHlch(43.91, 59.09, 29.92°)
OKLaboklab(53.62% 0.1496 0.0685)
OKLCHoklch(53.62% 0.165 24.6)
XYZxyz(22.5289, 13.7740, 5.4745)
Luminance0.1377 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3A3A #3ABABA
analogous
#BA3A7A #BA3A3A #BA7A3A
triadic
#BA3A3A #3ABA3A #3A3ABA
tetradic
#BA3A3A #7ABA3A #3ABABA #7A3ABA
square
#BA3A3A #7ABA3A #3ABABA #7A3ABA
split-complementary
#BA3A3A #3ABA7A #3A7ABA
monochromatic
#5D1D1D #8B2B2B #BA3A3A #CE6363 #DD9292

Accessibility & contrast

On white

5.59
#BA3A3A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#BA3A3A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3A3A
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3A3A#FFFFFF#000000##FFFFFF
##BA3A3A1.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba3a3a;
/* rgb */ color: rgb(186, 58, 58);
/* oklch */ color: oklch(53.6% 0.165 24.6);
Tailwind
colors: {
  custom: {
    50: '#d67870',
    500: '#ba3a3a',
    950: '#000000',
  },
}
SCSS
$custom: #ba3a3a;
$custom-light: #d67870;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3a3a",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 58
  },
  "hsl": {
    "h": 0,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53618,
    "c": 0.16457,
    "h": 24.6
  },
  "luminance": 0.13771
}

Semantic roles & 50–950 ramp

primary
#BA3A3A
secondary
#88C8C8
accent
#DCDC4C
background
#FEF7F6
surface
#FCEEEC
border
#D5C9C7
text
#160907
muted
#847B7A

Preview Lab

Preview with #BA3A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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