#BA2C42#BA2C42

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

Color values

HEX#BA2C42
RGBrgb(186, 44, 66)
HSLhsl(351, 62%, 45%)
HSVhsv(351, 76%, 73%)
CMYKcmyk(0%, 76.3%, 64.5%, 27.1%)
CIE-LABlab(42.21, 56.72, 22.49)
CIE-LCHlch(42.21, 61.01, 21.63°)
OKLaboklab(52.4% 0.1688 0.0539)
OKLCHoklch(52.4% 0.177 17.7)
XYZxyz(22.1361, 12.6371, 6.4268)
Luminance0.1263 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C42 #2CBAA4
analogous
#BA2C89 #BA2C42 #BA5D2C
triadic
#BA2C42 #42BA2C #2C42BA
tetradic
#BA2C42 #89BA2C #2CBAA4 #5D2CBA
square
#BA2C42 #89BA2C #2CBAA4 #5D2CBA
split-complementary
#BA2C42 #2CBA5D #2C89BA
monochromatic
#57151F #892030 #BA2C42 #D54E63 #E1808F

Accessibility & contrast

On white

5.95
#BA2C42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#BA2C42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2C42
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2C42#FFFFFF#000000##FFFFFF
##BA2C421.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555142
Deuteranopia (green-blind)
#796E3E
Tritanopia (blue-blind)
#CC0036
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2c42;
/* rgb */ color: rgb(186, 44, 66);
/* oklch */ color: oklch(52.4% 0.177 17.7);
Tailwind
colors: {
  custom: {
    50: '#d67276',
    500: '#ba2c42',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c42;
$custom-light: #d67276;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c42",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 66
  },
  "hsl": {
    "h": 350.704,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52397,
    "c": 0.17721,
    "h": 17.7
  },
  "luminance": 0.12634
}

Semantic roles & 50–950 ramp

primary
#BA2C42
secondary
#78CABD
accent
#E5CC43
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160908
muted
#847B7B

Preview Lab

Preview with #BA2C42

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

Preview Lab → · Contrast checker → · Palette generator →

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