#BA4C92#BA4C92

#BA4C92 is a mid, vivid pink. Relative luminance 0.177; OKLCH L 58.3% C 0.162 H 344.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#BA4C92
RGBrgb(186, 76, 146)
HSLhsl(322, 44%, 51%)
HSVhsv(322, 59%, 73%)
CMYKcmyk(0%, 59.1%, 21.5%, 27.1%)
CIE-LABlab(49.11, 52.13, -16.60)
CIE-LCHlch(49.11, 54.71, 342.33°)
OKLaboklab(58.26% 0.1562 -0.0441)
OKLCHoklch(58.26% 0.162 344.2)
XYZxyz(28.0232, 17.6858, 29.1264)
Luminance0.1768 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4C92 #4CBA74
analogous
#AB4CBA #BA4C92 #BA4C5B
triadic
#BA4C92 #92BA4C #4C92BA
tetradic
#BA4C92 #BAAB4C #4CBA74 #4C5BBA
square
#BA4C92 #BAAB4C #4CBA74 #4C5BBA
split-complementary
#BA4C92 #5BBA4C #4CBAAB
monochromatic
#65274E #913871 #BA4C92 #CB78AD #DCA4C8

Accessibility & contrast

On white

4.63
#BA4C92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#BA4C92 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4C92
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4C92#FFFFFF#000000##FFFFFF
##BA4C921.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566994
Deuteranopia (green-blind)
#757B8F
Tritanopia (blue-blind)
#C54B68
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba4c92;
/* rgb */ color: rgb(186, 76, 146);
/* oklch */ color: oklch(58.3% 0.162 344.2);
Tailwind
colors: {
  custom: {
    50: '#d284b2',
    500: '#ba4c92',
    950: '#000000',
  },
}
SCSS
$custom: #ba4c92;
$custom-light: #d284b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4c92",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 146
  },
  "hsl": {
    "h": 321.818,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58256,
    "c": 0.16226,
    "h": 344.2
  },
  "luminance": 0.17683
}

Semantic roles & 50–950 ramp

primary
#BA4C92
secondary
#99C9AA
accent
#D48254
background
#FDF8FA
surface
#FAEFF5
border
#D3CACF
text
#140B10
muted
#837C7F

Preview Lab

Preview with #BA4C92

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

Preview Lab → · Contrast checker → · Palette generator →

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