#BA2C4B#BA2C4B

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

Color values

HEX#BA2C4B
RGBrgb(186, 44, 75)
HSLhsl(347, 62%, 45%)
HSVhsv(347, 76%, 73%)
CMYKcmyk(0%, 76.3%, 59.7%, 27.1%)
CIE-LABlab(42.39, 57.28, 17.12)
CIE-LCHlch(42.39, 59.79, 16.64°)
OKLaboklab(52.58% 0.1724 0.0422)
OKLCHoklch(52.58% 0.177 13.8)
XYZxyz(22.4227, 12.7518, 7.9359)
Luminance0.1275 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C4B #2CBA9B
analogous
#BA2C92 #BA2C4B #BA542C
triadic
#BA2C4B #4BBA2C #2C4BBA
tetradic
#BA2C4B #92BA2C #2CBA9B #542CBA
square
#BA2C4B #92BA2C #2CBA9B #542CBA
split-complementary
#BA2C4B #2CBA54 #2C92BA
monochromatic
#571523 #892037 #BA2C4B #D54E6C #E18095

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA2C4B#FFFFFF#000000##FFFFFF
##BA2C4B1.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)
#53514B
Deuteranopia (green-blind)
#776F47
Tritanopia (blue-blind)
#CC0039
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2c4b;
/* rgb */ color: rgb(186, 44, 75);
/* oklch */ color: oklch(52.6% 0.177 13.8);
Tailwind
colors: {
  custom: {
    50: '#d6727d',
    500: '#ba2c4b',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c4b;
$custom-light: #d6727d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c4b",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 75
  },
  "hsl": {
    "h": 346.901,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52584,
    "c": 0.17746,
    "h": 13.8
  },
  "luminance": 0.12748
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA2C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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