#BA2C5A#BA2C5A

#BA2C5A is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.0% C 0.179 H 6.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#BA2C5A
RGBrgb(186, 44, 90)
HSLhsl(341, 62%, 45%)
HSVhsv(341, 76%, 73%)
CMYKcmyk(0%, 76.3%, 51.6%, 27.1%)
CIE-LABlab(42.74, 58.40, 8.22)
CIE-LCHlch(42.74, 58.97, 8.01°)
OKLaboklab(52.96% 0.1782 0.0213)
OKLCHoklch(52.96% 0.179 6.8)
XYZxyz(22.9979, 12.9819, 10.9656)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C5A #2CBA8C
analogous
#BA2CA1 #BA2C5A #BA452C
triadic
#BA2C5A #5ABA2C #2C5ABA
tetradic
#BA2C5A #A1BA2C #2CBA8C #452CBA
square
#BA2C5A #A1BA2C #2CBA8C #452CBA
split-complementary
#BA2C5A #2CBA45 #2CA1BA
monochromatic
#57152A #892042 #BA2C5A #D54E7A #E1809F

Accessibility & contrast

On white

5.84
#BA2C5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#BA2C5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2C5A
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2C5A#FFFFFF#000000##FFFFFF
##BA2C5A1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50535B
Deuteranopia (green-blind)
#756F57
Tritanopia (blue-blind)
#CB0040
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2c5a;
/* rgb */ color: rgb(186, 44, 90);
/* oklch */ color: oklch(53.0% 0.179 6.8);
Tailwind
colors: {
  custom: {
    50: '#d57288',
    500: '#ba2c5a',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c5a;
$custom-light: #d57288;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c5a",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 90
  },
  "hsl": {
    "h": 340.563,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52955,
    "c": 0.17942,
    "h": 6.8
  },
  "luminance": 0.12979
}

Semantic roles & 50–950 ramp

primary
#BA2C5A
secondary
#78CAAF
accent
#E5B043
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA2C5A

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

Preview Lab → · Contrast checker → · Palette generator →

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