#BA2C2C#BA2C2C

#BA2C2C is a mid, vivid red. Relative luminance 0.124; OKLCH L 52.0% C 0.179 H 26.0°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#BA2C2C
RGBrgb(186, 44, 44)
HSLhsl(0, 62%, 45%)
HSVhsv(0, 76%, 73%)
CMYKcmyk(0%, 76.3%, 76.3%, 27.1%)
CIE-LABlab(41.88, 55.66, 35.35)
CIE-LCHlch(41.88, 65.94, 32.43°)
OKLaboklab(52.05% 0.1607 0.0785)
OKLCHoklch(52.05% 0.179 26)
XYZxyz(21.6076, 12.4257, 3.6431)
Luminance0.1242 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C2C #2CBABA
analogous
#BA2C73 #BA2C2C #BA732C
triadic
#BA2C2C #2CBA2C #2C2CBA
tetradic
#BA2C2C #73BA2C #2CBABA #732CBA
square
#BA2C2C #73BA2C #2CBABA #732CBA
split-complementary
#BA2C2C #2CBA73 #2C73BA
monochromatic
#571515 #892020 #BA2C2C #D54E4E #E18080

Accessibility & contrast

On white

6.03
#BA2C2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#BA2C2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2C2C
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2C2C#FFFFFF#000000##FFFFFF
##BA2C2C1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba2c2c;
/* rgb */ color: rgb(186, 44, 44);
/* oklch */ color: oklch(52.0% 0.179 26.0);
Tailwind
colors: {
  custom: {
    50: '#d87166',
    500: '#ba2c2c',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c2c;
$custom-light: #d87166;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c2c",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 44
  },
  "hsl": {
    "h": 0,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5205,
    "c": 0.17883,
    "h": 26
  },
  "luminance": 0.12422
}

Semantic roles & 50–950 ramp

primary
#BA2C2C
secondary
#78CACA
accent
#E5E543
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #BA2C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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