#BA3A2A#BA3A2A

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

Color values

HEX#BA3A2A
RGBrgb(186, 58, 42)
HSLhsl(7, 63%, 45%)
HSVhsv(7, 77%, 73%)
CMYKcmyk(0%, 68.8%, 77.4%, 27.1%)
CIE-LABlab(43.71, 50.49, 38.43)
CIE-LCHlch(43.71, 63.45, 37.28°)
OKLaboklab(53.4% 0.1441 0.0846)
OKLCHoklch(53.4% 0.167 30.4)
XYZxyz(22.1832, 13.6357, 3.6539)
Luminance0.1363 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3A2A #2AAABA
analogous
#BA2A62 #BA3A2A #BA822A
triadic
#BA3A2A #2ABA3A #3A2ABA
tetradic
#BA3A2A #62BA2A #2AAABA #822ABA
square
#BA3A2A #62BA2A #2AAABA #822ABA
split-complementary
#BA3A2A #2ABA82 #2A62BA
monochromatic
#561B13 #882A1F #BA3A2A #D65A4B #E2887D

Accessibility & contrast

On white

5.64
#BA3A2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA3A2A
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3A2A#FFFFFF#000000##FFFFFF
##BA3A2A1.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5527
Deuteranopia (green-blind)
#7F7225
Tritanopia (blue-blind)
#CD0E37
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba3a2a;
/* rgb */ color: rgb(186, 58, 42);
/* oklch */ color: oklch(53.4% 0.167 30.4);
Tailwind
colors: {
  custom: {
    50: '#d77865',
    500: '#ba3a2a',
    950: '#000000',
  },
}
SCSS
$custom: #ba3a2a;
$custom-light: #d77865;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3a2a",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 42
  },
  "hsl": {
    "h": 6.667,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53403,
    "c": 0.16707,
    "h": 30.4
  },
  "luminance": 0.13632
}

Semantic roles & 50–950 ramp

primary
#BA3A2A
secondary
#76C1CA
accent
#D4E642
background
#FEF7F6
surface
#FDEEEB
border
#D5C9C6
text
#160905
muted
#847B7A

Preview Lab

Preview with #BA3A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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