#BA2B2C#BA2B2C

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

Color values

HEX#BA2B2C
RGBrgb(186, 43, 44)
HSLhsl(360, 62%, 45%)
HSVhsv(360, 77%, 73%)
CMYKcmyk(0%, 76.9%, 76.3%, 27.1%)
CIE-LABlab(41.77, 55.98, 35.23)
CIE-LCHlch(41.77, 66.14, 32.19°)
OKLaboklab(51.97% 0.1617 0.0782)
OKLCHoklch(51.97% 0.18 25.8)
XYZxyz(21.5708, 12.3521, 3.6308)
Luminance0.1235 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2B2C #2BBAB9
analogous
#BA2B74 #BA2B2C #BA712B
triadic
#BA2B2C #2CBA2B #2B2CBA
tetradic
#BA2B2C #74BA2B #2BBAB9 #712BBA
square
#BA2B2C #74BA2B #2BBAB9 #712BBA
split-complementary
#BA2B2C #2BBA71 #2B74BA
monochromatic
#571414 #882020 #BA2B2C #D64C4D #E17E7F

Accessibility & contrast

On white

6.05
#BA2B2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2B2C
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2B2C#FFFFFF#000000##FFFFFF
##BA2B2C1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574F2A
Deuteranopia (green-blind)
#7A6E26
Tritanopia (blue-blind)
#CD002D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba2b2c;
/* rgb */ color: rgb(186, 43, 44);
/* oklch */ color: oklch(52.0% 0.180 25.8);
Tailwind
colors: {
  custom: {
    50: '#d87166',
    500: '#ba2b2c',
    950: '#000000',
  },
}
SCSS
$custom: #ba2b2c;
$custom-light: #d87166;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2b2c",
  "rgb": {
    "r": 186,
    "g": 43,
    "b": 44
  },
  "hsl": {
    "h": 359.58,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51965,
    "c": 0.17962,
    "h": 25.8
  },
  "luminance": 0.12349
}

Semantic roles & 50–950 ramp

primary
#BA2B2C
secondary
#77CAC9
accent
#E6E442
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #BA2B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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