#BA2B2A#BA2B2A

#BA2B2A is a mid, vivid red. Relative luminance 0.123; OKLCH L 51.9% C 0.180 H 26.4°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#BA2B2A
RGBrgb(186, 43, 42)
HSLhsl(0, 63%, 45%)
HSVhsv(0, 77%, 73%)
CMYKcmyk(0%, 76.9%, 77.4%, 27.1%)
CIE-LABlab(41.75, 55.90, 36.35)
CIE-LCHlch(41.75, 66.68, 33.04°)
OKLaboklab(51.94% 0.161 0.0801)
OKLCHoklch(51.94% 0.18 26.4)
XYZxyz(21.5341, 12.3374, 3.4375)
Luminance0.1233 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2B2A #2AB9BA
analogous
#BA2A71 #BA2B2A #BA732A
triadic
#BA2B2A #2ABA2B #2B2ABA
tetradic
#BA2B2A #71BA2A #2AB9BA #732ABA
square
#BA2B2A #71BA2A #2AB9BA #732ABA
split-complementary
#BA2B2A #2ABA73 #2A71BA
monochromatic
#561413 #881F1F #BA2B2A #D64C4B #E27E7D

Accessibility & contrast

On white

6.06
#BA2B2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#BA2B2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2B2A
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2B2A#FFFFFF#000000##FFFFFF
##BA2B2A1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574F28
Deuteranopia (green-blind)
#7A6E24
Tritanopia (blue-blind)
#CD002D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ba2b2a;
/* rgb */ color: rgb(186, 43, 42);
/* oklch */ color: oklch(51.9% 0.180 26.4);
Tailwind
colors: {
  custom: {
    50: '#d87164',
    500: '#ba2b2a',
    950: '#000000',
  },
}
SCSS
$custom: #ba2b2a;
$custom-light: #d87164;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2b2a",
  "rgb": {
    "r": 186,
    "g": 43,
    "b": 42
  },
  "hsl": {
    "h": 0.417,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51941,
    "c": 0.17986,
    "h": 26.4
  },
  "luminance": 0.12334
}

Semantic roles & 50–950 ramp

primary
#BA2B2A
secondary
#76C9CA
accent
#E5E642
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160805
muted
#847B7A

Preview Lab

Preview with #BA2B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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