#BA2C45#BA2C45

#BA2C45 is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.5% C 0.177 H 16.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#BA2C45
RGBrgb(186, 44, 69)
HSLhsl(349, 62%, 45%)
HSVhsv(349, 76%, 73%)
CMYKcmyk(0%, 76.3%, 62.9%, 27.1%)
CIE-LABlab(42.27, 56.90, 20.70)
CIE-LCHlch(42.27, 60.55, 20.00°)
OKLaboklab(52.46% 0.17 0.0501)
OKLCHoklch(52.46% 0.177 16.4)
XYZxyz(22.2269, 12.6734, 6.9049)
Luminance0.1267 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C45 #2CBAA1
analogous
#BA2C8C #BA2C45 #BA5A2C
triadic
#BA2C45 #45BA2C #2C45BA
tetradic
#BA2C45 #8CBA2C #2CBAA1 #5A2CBA
square
#BA2C45 #8CBA2C #2CBAA1 #5A2CBA
split-complementary
#BA2C45 #2CBA5A #2C8CBA
monochromatic
#571520 #892033 #BA2C45 #D54E66 #E18091

Accessibility & contrast

On white

5.94
#BA2C45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2C45
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2C45#FFFFFF#000000##FFFFFF
##BA2C451.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545145
Deuteranopia (green-blind)
#786E41
Tritanopia (blue-blind)
#CC0037
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2c45;
/* rgb */ color: rgb(186, 44, 69);
/* oklch */ color: oklch(52.5% 0.177 16.4);
Tailwind
colors: {
  custom: {
    50: '#d67278',
    500: '#ba2c45',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c45;
$custom-light: #d67278;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c45",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 69
  },
  "hsl": {
    "h": 349.437,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52457,
    "c": 0.17722,
    "h": 16.4
  },
  "luminance": 0.1267
}

Semantic roles & 50–950 ramp

primary
#BA2C45
secondary
#78CABB
accent
#E5C843
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160909
muted
#847B7B

Preview Lab

Preview with #BA2C45

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

Preview Lab → · Contrast checker → · Palette generator →

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