#BA2C83#BA2C83

#BA2C83 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.4% C 0.195 H 348.1°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#BA2C83
RGBrgb(186, 44, 131)
HSLhsl(323, 62%, 45%)
HSVhsv(323, 76%, 73%)
CMYKcmyk(0%, 76.3%, 29.6%, 27.1%)
CIE-LABlab(44.06, 62.52, -15.24)
CIE-LCHlch(44.06, 64.35, 346.30°)
OKLaboklab(54.36% 0.1907 -0.0401)
OKLCHoklch(54.36% 0.195 348.1)
XYZxyz(25.2484, 13.8821, 22.8182)
Luminance0.1388 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C83 #2CBA63
analogous
#AA2CBA #BA2C83 #BA2C3C
triadic
#BA2C83 #83BA2C #2C83BA
tetradic
#BA2C83 #BAAA2C #2CBA63 #2C3CBA
square
#BA2C83 #BAAA2C #2CBA63 #2C3CBA
split-complementary
#BA2C83 #3CBA2C #2CBAAA
monochromatic
#57153D #892060 #BA2C83 #D54EA1 #E180BB

Accessibility & contrast

On white

5.56
#BA2C83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#BA2C83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2C83
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2C83#FFFFFF#000000##FFFFFF
##BA2C831.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425885
Deuteranopia (green-blind)
#6C7180
Tritanopia (blue-blind)
#C72554
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba2c83;
/* rgb */ color: rgb(186, 44, 131);
/* oklch */ color: oklch(54.4% 0.195 348.1);
Tailwind
colors: {
  custom: {
    50: '#d374a7',
    500: '#ba2c83',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c83;
$custom-light: #d374a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c83",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 131
  },
  "hsl": {
    "h": 323.239,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54362,
    "c": 0.19488,
    "h": 348.1
  },
  "luminance": 0.13879
}

Semantic roles & 50–950 ramp

primary
#BA2C83
secondary
#78CA98
accent
#E58243
background
#FDF7FA
surface
#FBEDF4
border
#D4C8CE
text
#15090F
muted
#837B7F

Preview Lab

Preview with #BA2C83

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

Preview Lab → · Contrast checker → · Palette generator →

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