#BA2C4A#BA2C4A

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

Color values

HEX#BA2C4A
RGBrgb(186, 44, 74)
HSLhsl(347, 62%, 45%)
HSVhsv(347, 76%, 73%)
CMYKcmyk(0%, 76.3%, 60.2%, 27.1%)
CIE-LABlab(42.37, 57.21, 17.72)
CIE-LCHlch(42.37, 59.90, 17.21°)
OKLaboklab(52.56% 0.172 0.0435)
OKLCHoklch(52.56% 0.177 14.2)
XYZxyz(22.3887, 12.7382, 7.7571)
Luminance0.1273 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C4A #2CBA9C
analogous
#BA2C91 #BA2C4A #BA552C
triadic
#BA2C4A #4ABA2C #2C4ABA
tetradic
#BA2C4A #91BA2C #2CBA9C #552CBA
square
#BA2C4A #91BA2C #2CBA9C #552CBA
split-complementary
#BA2C4A #2CBA55 #2C91BA
monochromatic
#571523 #892036 #BA2C4A #D54E6B #E18094

Accessibility & contrast

On white

5.92
#BA2C4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#BA2C4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2C4A
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2C4A#FFFFFF#000000##FFFFFF
##BA2C4A1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53514A
Deuteranopia (green-blind)
#786F46
Tritanopia (blue-blind)
#CC0039
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2c4a;
/* rgb */ color: rgb(186, 44, 74);
/* oklch */ color: oklch(52.6% 0.177 14.2);
Tailwind
colors: {
  custom: {
    50: '#d6727c',
    500: '#ba2c4a',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c4a;
$custom-light: #d6727c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c4a",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 74
  },
  "hsl": {
    "h": 347.324,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52562,
    "c": 0.17739,
    "h": 14.2
  },
  "luminance": 0.12735
}

Semantic roles & 50–950 ramp

primary
#BA2C4A
secondary
#78CAB8
accent
#E5C343
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160909
muted
#847B7B

Preview Lab

Preview with #BA2C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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