#BA4D91#BA4D91

#BA4D91 is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.3% C 0.160 H 344.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#BA4D91
RGBrgb(186, 77, 145)
HSLhsl(323, 44%, 52%)
HSVhsv(323, 59%, 73%)
CMYKcmyk(0%, 58.6%, 22%, 27.1%)
CIE-LABlab(49.24, 51.52, -15.80)
CIE-LCHlch(49.24, 53.89, 342.95°)
OKLaboklab(58.34% 0.1545 -0.0419)
OKLCHoklch(58.34% 0.16 344.8)
XYZxyz(28.0152, 17.7937, 28.7416)
Luminance0.1779 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4D91 #4DBA76
analogous
#AD4DBA #BA4D91 #BA4D5B
triadic
#BA4D91 #91BA4D #4D91BA
tetradic
#BA4D91 #BAAD4D #4DBA76 #4D5BBA
square
#BA4D91 #BAAD4D #4DBA76 #4D5BBA
split-complementary
#BA4D91 #5BBA4D #4DBAAD
monochromatic
#65274E #913870 #BA4D91 #CB79AC #DCA5C8

Accessibility & contrast

On white

4.61
#BA4D91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA4D91
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4D91#FFFFFF#000000##FFFFFF
##BA4D911.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576993
Deuteranopia (green-blind)
#767C8E
Tritanopia (blue-blind)
#C54C68
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba4d91;
/* rgb */ color: rgb(186, 77, 145);
/* oklch */ color: oklch(58.3% 0.160 344.8);
Tailwind
colors: {
  custom: {
    50: '#d284b1',
    500: '#ba4d91',
    950: '#000000',
  },
}
SCSS
$custom: #ba4d91;
$custom-light: #d284b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4d91",
  "rgb": {
    "r": 186,
    "g": 77,
    "b": 145
  },
  "hsl": {
    "h": 322.569,
    "s": 44.13,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58341,
    "c": 0.1601,
    "h": 344.8
  },
  "luminance": 0.17791
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA4D91

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

Preview Lab → · Contrast checker → · Palette generator →

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