#BA2C3B#BA2C3B

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

Color values

HEX#BA2C3B
RGBrgb(186, 44, 59)
HSLhsl(354, 62%, 45%)
HSVhsv(354, 76%, 73%)
CMYKcmyk(0%, 76.3%, 68.3%, 27.1%)
CIE-LABlab(42.09, 56.33, 26.65)
CIE-LCHlch(42.09, 62.32, 25.32°)
OKLaboklab(52.27% 0.1661 0.0624)
OKLCHoklch(52.27% 0.177 20.6)
XYZxyz(21.9422, 12.5596, 5.4057)
Luminance0.1256 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C3B #2CBAAB
analogous
#BA2C82 #BA2C3B #BA642C
triadic
#BA2C3B #3BBA2C #2C3BBA
tetradic
#BA2C3B #82BA2C #2CBAAB #642CBA
square
#BA2C3B #82BA2C #2CBAAB #642CBA
split-complementary
#BA2C3B #2CBA64 #2C82BA
monochromatic
#57151C #89202B #BA2C3B #D54E5C #E1808A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA2C3B#FFFFFF#000000##FFFFFF
##BA2C3B1.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)
#56503A
Deuteranopia (green-blind)
#796E37
Tritanopia (blue-blind)
#CC0033
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba2c3b;
/* rgb */ color: rgb(186, 44, 59);
/* oklch */ color: oklch(52.3% 0.177 20.6);
Tailwind
colors: {
  custom: {
    50: '#d77270',
    500: '#ba2c3b',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c3b;
$custom-light: #d77270;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c3b",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 59
  },
  "hsl": {
    "h": 353.662,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5227,
    "c": 0.17744,
    "h": 20.6
  },
  "luminance": 0.12556
}

Semantic roles & 50–950 ramp

primary
#BA2C3B
secondary
#78CAC1
accent
#E5D443
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160907
muted
#847B7A

Preview Lab

Preview with #BA2C3B

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

Preview Lab → · Contrast checker → · Palette generator →

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