#BA2C47#BA2C47

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

Color values

HEX#BA2C47
RGBrgb(186, 44, 71)
HSLhsl(349, 62%, 45%)
HSVhsv(349, 76%, 73%)
CMYKcmyk(0%, 76.3%, 61.8%, 27.1%)
CIE-LABlab(42.31, 57.02, 19.51)
CIE-LCHlch(42.31, 60.27, 18.89°)
OKLaboklab(52.5% 0.1708 0.0475)
OKLCHoklch(52.5% 0.177 15.5)
XYZxyz(22.2900, 12.6987, 7.2374)
Luminance0.1270 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C47 #2CBA9F
analogous
#BA2C8E #BA2C47 #BA582C
triadic
#BA2C47 #47BA2C #2C47BA
tetradic
#BA2C47 #8EBA2C #2CBA9F #582CBA
square
#BA2C47 #8EBA2C #2CBA9F #582CBA
split-complementary
#BA2C47 #2CBA58 #2C8EBA
monochromatic
#571521 #892034 #BA2C47 #D54E68 #E18092

Accessibility & contrast

On white

5.93
#BA2C47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#BA2C47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2C47
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2C47#FFFFFF#000000##FFFFFF
##BA2C471.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545147
Deuteranopia (green-blind)
#786F43
Tritanopia (blue-blind)
#CC0038
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2c47;
/* rgb */ color: rgb(186, 44, 71);
/* oklch */ color: oklch(52.5% 0.177 15.5);
Tailwind
colors: {
  custom: {
    50: '#d6727a',
    500: '#ba2c47',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c47;
$custom-light: #d6727a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c47",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 71
  },
  "hsl": {
    "h": 348.592,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52498,
    "c": 0.17726,
    "h": 15.5
  },
  "luminance": 0.12695
}

Semantic roles & 50–950 ramp

primary
#BA2C47
secondary
#78CABA
accent
#E5C643
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160909
muted
#847B7B

Preview Lab

Preview with #BA2C47

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

Preview Lab → · Contrast checker → · Palette generator →

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