#BA2C48#BA2C48

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

Color values

HEX#BA2C48
RGBrgb(186, 44, 72)
HSLhsl(348, 62%, 45%)
HSVhsv(348, 76%, 73%)
CMYKcmyk(0%, 76.3%, 61.3%, 27.1%)
CIE-LABlab(42.33, 57.08, 18.91)
CIE-LCHlch(42.33, 60.14, 18.33°)
OKLaboklab(52.52% 0.1712 0.0462)
OKLCHoklch(52.52% 0.177 15.1)
XYZxyz(22.3224, 12.7116, 7.4078)
Luminance0.1271 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C48 #2CBA9E
analogous
#BA2C8F #BA2C48 #BA572C
triadic
#BA2C48 #48BA2C #2C48BA
tetradic
#BA2C48 #8FBA2C #2CBA9E #572CBA
square
#BA2C48 #8FBA2C #2CBA9E #572CBA
split-complementary
#BA2C48 #2CBA57 #2C8FBA
monochromatic
#571522 #892035 #BA2C48 #D54E69 #E18093

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA2C48#FFFFFF#000000##FFFFFF
##BA2C481.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)
#545148
Deuteranopia (green-blind)
#786F44
Tritanopia (blue-blind)
#CC0038
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2c48;
/* rgb */ color: rgb(186, 44, 72);
/* oklch */ color: oklch(52.5% 0.177 15.1);
Tailwind
colors: {
  custom: {
    50: '#d6727a',
    500: '#ba2c48',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c48;
$custom-light: #d6727a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c48",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 72
  },
  "hsl": {
    "h": 348.169,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52519,
    "c": 0.17729,
    "h": 15.1
  },
  "luminance": 0.12708
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA2C48

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

Preview Lab → · Contrast checker → · Palette generator →

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