#BA2C58#BA2C58

#BA2C58 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.9% C 0.179 H 7.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#BA2C58
RGBrgb(186, 44, 88)
HSLhsl(341, 62%, 45%)
HSVhsv(341, 76%, 73%)
CMYKcmyk(0%, 76.3%, 52.7%, 27.1%)
CIE-LABlab(42.69, 58.23, 9.40)
CIE-LCHlch(42.69, 58.99, 9.17°)
OKLaboklab(52.9% 0.1774 0.0242)
OKLCHoklch(52.9% 0.179 7.8)
XYZxyz(22.9139, 12.9483, 10.5233)
Luminance0.1295 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C58 #2CBA8E
analogous
#BA2C9F #BA2C58 #BA472C
triadic
#BA2C58 #58BA2C #2C58BA
tetradic
#BA2C58 #9FBA2C #2CBA8E #472CBA
square
#BA2C58 #9FBA2C #2CBA8E #472CBA
split-complementary
#BA2C58 #2CBA47 #2C9FBA
monochromatic
#571529 #892041 #BA2C58 #D54E78 #E1809E

Accessibility & contrast

On white

5.85
#BA2C58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#BA2C58 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2C58
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2C58#FFFFFF#000000##FFFFFF
##BA2C581.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515359
Deuteranopia (green-blind)
#766F55
Tritanopia (blue-blind)
#CB003F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2c58;
/* rgb */ color: rgb(186, 44, 88);
/* oklch */ color: oklch(52.9% 0.179 7.8);
Tailwind
colors: {
  custom: {
    50: '#d57286',
    500: '#ba2c58',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c58;
$custom-light: #d57286;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c58",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 88
  },
  "hsl": {
    "h": 341.408,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52901,
    "c": 0.17904,
    "h": 7.8
  },
  "luminance": 0.12945
}

Semantic roles & 50–950 ramp

primary
#BA2C58
secondary
#78CAB0
accent
#E5B343
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA2C58

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

Preview Lab → · Contrast checker → · Palette generator →

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