#BA2C3C#BA2C3C

#BA2C3C is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.3% C 0.177 H 20.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#BA2C3C
RGBrgb(186, 44, 60)
HSLhsl(353, 62%, 45%)
HSVhsv(353, 76%, 73%)
CMYKcmyk(0%, 76.3%, 67.7%, 27.1%)
CIE-LABlab(42.11, 56.38, 26.06)
CIE-LCHlch(42.11, 62.11, 24.81°)
OKLaboklab(52.29% 0.1665 0.0612)
OKLCHoklch(52.29% 0.177 20.2)
XYZxyz(21.9684, 12.5701, 5.5436)
Luminance0.1257 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C3C #2CBAAA
analogous
#BA2C83 #BA2C3C #BA632C
triadic
#BA2C3C #3CBA2C #2C3CBA
tetradic
#BA2C3C #83BA2C #2CBAAA #632CBA
square
#BA2C3C #83BA2C #2CBAAA #632CBA
split-complementary
#BA2C3C #2CBA63 #2C83BA
monochromatic
#57151C #89202C #BA2C3C #D54E5D #E1808B

Accessibility & contrast

On white

5.98
#BA2C3C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#BA2C3C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2C3C
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2C3C#FFFFFF#000000##FFFFFF
##BA2C3C1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56503B
Deuteranopia (green-blind)
#796E38
Tritanopia (blue-blind)
#CC0033
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba2c3c;
/* rgb */ color: rgb(186, 44, 60);
/* oklch */ color: oklch(52.3% 0.177 20.2);
Tailwind
colors: {
  custom: {
    50: '#d77271',
    500: '#ba2c3c',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c3c;
$custom-light: #d77271;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c3c",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 60
  },
  "hsl": {
    "h": 353.239,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52287,
    "c": 0.17738,
    "h": 20.2
  },
  "luminance": 0.12567
}

Semantic roles & 50–950 ramp

primary
#BA2C3C
secondary
#78CAC0
accent
#E5D343
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160907
muted
#847B7A

Preview Lab

Preview with #BA2C3C

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

Preview Lab → · Contrast checker → · Palette generator →

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