#BA2C2D#BA2C2D

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

Color values

HEX#BA2C2D
RGBrgb(186, 44, 45)
HSLhsl(360, 62%, 45%)
HSVhsv(360, 76%, 73%)
CMYKcmyk(0%, 76.3%, 75.8%, 27.1%)
CIE-LABlab(41.90, 55.69, 34.79)
CIE-LCHlch(41.90, 65.67, 31.99°)
OKLaboklab(52.06% 0.161 0.0775)
OKLCHoklch(52.06% 0.179 25.7)
XYZxyz(21.6266, 12.4333, 3.7433)
Luminance0.1243 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C2D #2CBAB9
analogous
#BA2C74 #BA2C2D #BA722C
triadic
#BA2C2D #2DBA2C #2C2DBA
tetradic
#BA2C2D #74BA2C #2CBAB9 #722CBA
square
#BA2C2D #74BA2C #2CBAB9 #722CBA
split-complementary
#BA2C2D #2CBA72 #2C74BA
monochromatic
#571515 #892021 #BA2C2D #D54E4F #E18080

Accessibility & contrast

On white

6.02
#BA2C2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#BA2C2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2C2D
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2C2D#FFFFFF#000000##FFFFFF
##BA2C2D1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba2c2d;
/* rgb */ color: rgb(186, 44, 45);
/* oklch */ color: oklch(52.1% 0.179 25.7);
Tailwind
colors: {
  custom: {
    50: '#d87166',
    500: '#ba2c2d',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c2d;
$custom-light: #d87166;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c2d",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 45
  },
  "hsl": {
    "h": 359.577,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52063,
    "c": 0.17871,
    "h": 25.7
  },
  "luminance": 0.1243
}

Semantic roles & 50–950 ramp

primary
#BA2C2D
secondary
#78CAC9
accent
#E5E443
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #BA2C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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