#BA4D93#BA4D93

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

Color values

HEX#BA4D93
RGBrgb(186, 77, 147)
HSLhsl(321, 44%, 52%)
HSVhsv(321, 59%, 73%)
CMYKcmyk(0%, 58.6%, 21%, 27.1%)
CIE-LABlab(49.32, 51.81, -16.88)
CIE-LCHlch(49.32, 54.49, 341.95°)
OKLaboklab(58.42% 0.155 -0.0449)
OKLCHoklch(58.42% 0.161 343.8)
XYZxyz(28.1708, 17.8559, 29.5610)
Luminance0.1785 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4D93 #4DBA74
analogous
#AB4DBA #BA4D93 #BA4D5D
triadic
#BA4D93 #93BA4D #4D93BA
tetradic
#BA4D93 #BAAB4D #4DBA74 #4D5DBA
square
#BA4D93 #BAAB4D #4DBA74 #4D5DBA
split-complementary
#BA4D93 #5DBA4D #4DBAAB
monochromatic
#65274F #913872 #BA4D93 #CB79AE #DCA5C9

Accessibility & contrast

On white

4.59
#BA4D93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#BA4D93 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4D93
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4D93#FFFFFF#000000##FFFFFF
##BA4D931.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566A95
Deuteranopia (green-blind)
#757C90
Tritanopia (blue-blind)
#C54D69
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba4d93;
/* rgb */ color: rgb(186, 77, 147);
/* oklch */ color: oklch(58.4% 0.161 343.8);
Tailwind
colors: {
  custom: {
    50: '#d284b2',
    500: '#ba4d93',
    950: '#000000',
  },
}
SCSS
$custom: #ba4d93;
$custom-light: #d284b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4d93",
  "rgb": {
    "r": 186,
    "g": 77,
    "b": 147
  },
  "hsl": {
    "h": 321.468,
    "s": 44.13,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58422,
    "c": 0.16138,
    "h": 343.8
  },
  "luminance": 0.17853
}

Semantic roles & 50–950 ramp

primary
#BA4D93
secondary
#99C9AB
accent
#D48254
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA4D93

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

Preview Lab → · Contrast checker → · Palette generator →

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