#BA2A5B#BA2A5B

#BA2A5B is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.8% C 0.182 H 6.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#BA2A5B
RGBrgb(186, 42, 91)
HSLhsl(340, 63%, 45%)
HSVhsv(340, 77%, 73%)
CMYKcmyk(0%, 77.4%, 51.1%, 27.1%)
CIE-LABlab(42.54, 59.10, 7.32)
CIE-LCHlch(42.54, 59.55, 7.06°)
OKLaboklab(52.82% 0.1805 0.0191)
OKLCHoklch(52.82% 0.182 6)
XYZxyz(22.9681, 12.8536, 11.1671)
Luminance0.1285 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2A5B #2ABA89
analogous
#BA2AA3 #BA2A5B #BA412A
triadic
#BA2A5B #5BBA2A #2A5BBA
tetradic
#BA2A5B #A3BA2A #2ABA89 #412ABA
square
#BA2A5B #A3BA2A #2ABA89 #412ABA
split-complementary
#BA2A5B #2ABA41 #2AA3BA
monochromatic
#56132A #881F43 #BA2A5B #D64B7A #E27D9F

Accessibility & contrast

On white

5.88
#BA2A5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#BA2A5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2A5B
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2A5B#FFFFFF#000000##FFFFFF
##BA2A5B1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F525C
Deuteranopia (green-blind)
#756F58
Tritanopia (blue-blind)
#CB003F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2a5b;
/* rgb */ color: rgb(186, 42, 91);
/* oklch */ color: oklch(52.8% 0.182 6.0);
Tailwind
colors: {
  custom: {
    50: '#d57289',
    500: '#ba2a5b',
    950: '#000000',
  },
}
SCSS
$custom: #ba2a5b;
$custom-light: #d57289;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2a5b",
  "rgb": {
    "r": 186,
    "g": 42,
    "b": 91
  },
  "hsl": {
    "h": 339.583,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52821,
    "c": 0.18153,
    "h": 6
  },
  "luminance": 0.1285
}

Semantic roles & 50–950 ramp

primary
#BA2A5B
secondary
#76CAAD
accent
#E6AE42
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA2A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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