#BA4D92#BA4D92

#BA4D92 is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.4% C 0.161 H 344.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#BA4D92
RGBrgb(186, 77, 146)
HSLhsl(322, 44%, 52%)
HSVhsv(322, 59%, 73%)
CMYKcmyk(0%, 58.6%, 21.5%, 27.1%)
CIE-LABlab(49.28, 51.67, -16.34)
CIE-LCHlch(49.28, 54.19, 342.45°)
OKLaboklab(58.38% 0.1548 -0.0434)
OKLCHoklch(58.38% 0.161 344.3)
XYZxyz(28.0927, 17.8247, 29.1495)
Luminance0.1782 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4D92 #4DBA75
analogous
#AC4DBA #BA4D92 #BA4D5C
triadic
#BA4D92 #92BA4D #4D92BA
tetradic
#BA4D92 #BAAC4D #4DBA75 #4D5CBA
square
#BA4D92 #BAAC4D #4DBA75 #4D5CBA
split-complementary
#BA4D92 #5CBA4D #4DBAAC
monochromatic
#65274F #913871 #BA4D92 #CB79AD #DCA5C8

Accessibility & contrast

On white

4.60
#BA4D92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#BA4D92 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4D92
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4D92#FFFFFF#000000##FFFFFF
##BA4D921.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566A94
Deuteranopia (green-blind)
#757C8F
Tritanopia (blue-blind)
#C54C69
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba4d92;
/* rgb */ color: rgb(186, 77, 146);
/* oklch */ color: oklch(58.4% 0.161 344.3);
Tailwind
colors: {
  custom: {
    50: '#d284b2',
    500: '#ba4d92',
    950: '#000000',
  },
}
SCSS
$custom: #ba4d92;
$custom-light: #d284b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4d92",
  "rgb": {
    "r": 186,
    "g": 77,
    "b": 146
  },
  "hsl": {
    "h": 322.018,
    "s": 44.13,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58381,
    "c": 0.16073,
    "h": 344.3
  },
  "luminance": 0.17822
}

Semantic roles & 50–950 ramp

primary
#BA4D92
secondary
#99C9AB
accent
#D48354
background
#FDF8FA
surface
#FAEFF5
border
#D3CACF
text
#140B10
muted
#837C7F

Preview Lab

Preview with #BA4D92

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

Preview Lab → · Contrast checker → · Palette generator →

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