#BA2A1D#BA2A1D

#BA2A1D is a mid, vivid red. Relative luminance 0.122; OKLCH L 51.7% C 0.182 H 29.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#BA2A1D
RGBrgb(186, 42, 29)
HSLhsl(5, 73%, 42%)
HSVhsv(5, 84%, 73%)
CMYKcmyk(0%, 77.4%, 84.4%, 27.1%)
CIE-LABlab(41.51, 55.82, 43.14)
CIE-LCHlch(41.51, 70.54, 37.70°)
OKLaboklab(51.73% 0.1582 0.0905)
OKLCHoklch(51.73% 0.182 29.8)
XYZxyz(21.3021, 12.1872, 2.3929)
Luminance0.1218 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2A1D #1DADBA
analogous
#BA1D5F #BA2A1D #BA781D
triadic
#BA2A1D #1DBA2A #2A1DBA
tetradic
#BA2A1D #5FBA1D #1DADBA #781DBA
square
#BA2A1D #5FBA1D #1DADBA #781DBA
split-complementary
#BA2A1D #1DBA78 #1D5FBA
monochromatic
#50120C #851E15 #BA2A1D #DF4335 #E8746A

Accessibility & contrast

On white

6.11
#BA2A1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#BA2A1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2A1D
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2A1D#FFFFFF#000000##FFFFFF
##BA2A1D1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E19
Deuteranopia (green-blind)
#7B6D14
Tritanopia (blue-blind)
#CD0029
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ba2a1d;
/* rgb */ color: rgb(186, 42, 29);
/* oklch */ color: oklch(51.7% 0.182 29.8);
Tailwind
colors: {
  custom: {
    50: '#d9705b',
    500: '#ba2a1d',
    950: '#000000',
  },
}
SCSS
$custom: #ba2a1d;
$custom-light: #d9705b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2a1d",
  "rgb": {
    "r": 186,
    "g": 42,
    "b": 29
  },
  "hsl": {
    "h": 4.968,
    "s": 73.023,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51726,
    "c": 0.18227,
    "h": 29.8
  },
  "luminance": 0.12184
}

Semantic roles & 50–950 ramp

primary
#BA2A1D
secondary
#65C5CD
accent
#E1F038
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#170804
muted
#857B79

Preview Lab

Preview with #BA2A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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