#BA2C89#BA2C89

#BA2C89 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.6% C 0.198 H 345.6°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#BA2C89
RGBrgb(186, 44, 137)
HSLhsl(321, 62%, 45%)
HSVhsv(321, 76%, 73%)
CMYKcmyk(0%, 76.3%, 26.3%, 27.1%)
CIE-LABlab(44.30, 63.25, -18.53)
CIE-LCHlch(44.30, 65.91, 343.67°)
OKLaboklab(54.62% 0.192 -0.0492)
OKLCHoklch(54.62% 0.198 345.6)
XYZxyz(25.6669, 14.0494, 25.0222)
Luminance0.1405 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C89 #2CBA5D
analogous
#A42CBA #BA2C89 #BA2C42
triadic
#BA2C89 #89BA2C #2C89BA
tetradic
#BA2C89 #BAA42C #2CBA5D #2C42BA
square
#BA2C89 #BAA42C #2CBA5D #2C42BA
split-complementary
#BA2C89 #42BA2C #2CBAA4
monochromatic
#571540 #892065 #BA2C89 #D54EA7 #E180BF

Accessibility & contrast

On white

5.51
#BA2C89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#BA2C89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2C89
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2C89#FFFFFF#000000##FFFFFF
##BA2C891.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F598B
Deuteranopia (green-blind)
#6A7186
Tritanopia (blue-blind)
#C72957
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba2c89;
/* rgb */ color: rgb(186, 44, 137);
/* oklch */ color: oklch(54.6% 0.198 345.6);
Tailwind
colors: {
  custom: {
    50: '#d374ab',
    500: '#ba2c89',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c89;
$custom-light: #d374ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c89",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 137
  },
  "hsl": {
    "h": 320.704,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54615,
    "c": 0.19818,
    "h": 345.6
  },
  "luminance": 0.14047
}

Semantic roles & 50–950 ramp

primary
#BA2C89
secondary
#78CA94
accent
#E57B43
background
#FDF7FA
surface
#FBEDF4
border
#D4C8CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #BA2C89

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

Preview Lab → · Contrast checker → · Palette generator →

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