#BA4C83#BA4C83

#BA4C83 is a mid, vivid pink. Relative luminance 0.172; OKLCH L 57.7% C 0.154 H 351.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#BA4C83
RGBrgb(186, 76, 131)
HSLhsl(330, 44%, 51%)
HSVhsv(330, 59%, 73%)
CMYKcmyk(0%, 59.1%, 29.6%, 27.1%)
CIE-LABlab(48.57, 50.08, -8.43)
CIE-LCHlch(48.57, 50.78, 350.44°)
OKLaboklab(57.68% 0.152 -0.0217)
OKLCHoklch(57.68% 0.154 351.9)
XYZxyz(26.9321, 17.2493, 23.3794)
Luminance0.1725 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4C83 #4CBA83
analogous
#BA4CBA #BA4C83 #BA4C4C
triadic
#BA4C83 #83BA4C #4C83BA
tetradic
#BA4C83 #BABA4C #4CBA83 #4C4CBA
square
#BA4C83 #BABA4C #4CBA83 #4C4CBA
split-complementary
#BA4C83 #4CBA4C #4CBABA
monochromatic
#652746 #913864 #BA4C83 #CB78A2 #DCA4C0

Accessibility & contrast

On white

4.72
#BA4C83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#BA4C83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4C83
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4C83#FFFFFF#000000##FFFFFF
##BA4C831.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6785
Deuteranopia (green-blind)
#797B80
Tritanopia (blue-blind)
#C74762
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba4c83;
/* rgb */ color: rgb(186, 76, 131);
/* oklch */ color: oklch(57.7% 0.154 351.9);
Tailwind
colors: {
  custom: {
    50: '#d283a7',
    500: '#ba4c83',
    950: '#000000',
  },
}
SCSS
$custom: #ba4c83;
$custom-light: #d283a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4c83",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 131
  },
  "hsl": {
    "h": 330,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57678,
    "c": 0.15358,
    "h": 351.9
  },
  "luminance": 0.17247
}

Semantic roles & 50–950 ramp

primary
#BA4C83
secondary
#99C9B1
accent
#D49454
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B0F
muted
#837C7F

Preview Lab

Preview with #BA4C83

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

Preview Lab → · Contrast checker → · Palette generator →

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