#BA2C4E#BA2C4E

#BA2C4E is a mid, vivid red. Relative luminance 0.128; OKLCH L 52.7% C 0.178 H 12.4°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#BA2C4E
RGBrgb(186, 44, 78)
HSLhsl(346, 62%, 45%)
HSVhsv(346, 76%, 73%)
CMYKcmyk(0%, 76.3%, 58.1%, 27.1%)
CIE-LABlab(42.45, 57.49, 15.34)
CIE-LCHlch(42.45, 59.50, 14.94°)
OKLaboklab(52.65% 0.1735 0.0381)
OKLCHoklch(52.65% 0.178 12.4)
XYZxyz(22.5278, 12.7938, 8.4895)
Luminance0.1279 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C4E #2CBA98
analogous
#BA2C95 #BA2C4E #BA512C
triadic
#BA2C4E #4EBA2C #2C4EBA
tetradic
#BA2C4E #95BA2C #2CBA98 #512CBA
square
#BA2C4E #95BA2C #2CBA98 #512CBA
split-complementary
#BA2C4E #2CBA51 #2C95BA
monochromatic
#571524 #892039 #BA2C4E #D54E6E #E18097

Accessibility & contrast

On white

5.90
#BA2C4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#BA2C4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2C4E
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2C4E#FFFFFF#000000##FFFFFF
##BA2C4E1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53524E
Deuteranopia (green-blind)
#776F4A
Tritanopia (blue-blind)
#CC003A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2c4e;
/* rgb */ color: rgb(186, 44, 78);
/* oklch */ color: oklch(52.7% 0.178 12.4);
Tailwind
colors: {
  custom: {
    50: '#d6727f',
    500: '#ba2c4e',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c4e;
$custom-light: #d6727f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c4e",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 78
  },
  "hsl": {
    "h": 345.634,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52652,
    "c": 0.17768,
    "h": 12.4
  },
  "luminance": 0.12791
}

Semantic roles & 50–950 ramp

primary
#BA2C4E
secondary
#78CAB6
accent
#E5BE43
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C

Preview Lab

Preview with #BA2C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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