#BA4D95#BA4D95

#BA4D95 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.5% C 0.163 H 342.9°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#BA4D95
RGBrgb(186, 77, 149)
HSLhsl(320, 44%, 52%)
HSVhsv(320, 59%, 73%)
CMYKcmyk(0%, 58.6%, 19.9%, 27.1%)
CIE-LABlab(49.40, 52.10, -17.95)
CIE-LCHlch(49.40, 55.11, 340.99°)
OKLaboklab(58.51% 0.1555 -0.0479)
OKLCHoklch(58.51% 0.163 342.9)
XYZxyz(28.3291, 17.9193, 30.3947)
Luminance0.1792 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4D95 #4DBA72
analogous
#A94DBA #BA4D95 #BA4D5F
triadic
#BA4D95 #95BA4D #4D95BA
tetradic
#BA4D95 #BAA94D #4DBA72 #4D5FBA
square
#BA4D95 #BAA94D #4DBA72 #4D5FBA
split-complementary
#BA4D95 #5FBA4D #4DBAA9
monochromatic
#652750 #913873 #BA4D95 #CB79AF #DCA5CA

Accessibility & contrast

On white

4.58
#BA4D95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#BA4D95 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4D95
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4D95#FFFFFF#000000##000000
##BA4D951.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#556A97
Deuteranopia (green-blind)
#747C92
Tritanopia (blue-blind)
#C54D6A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba4d95;
/* rgb */ color: rgb(186, 77, 149);
/* oklch */ color: oklch(58.5% 0.163 342.9);
Tailwind
colors: {
  custom: {
    50: '#d284b4',
    500: '#ba4d95',
    950: '#000000',
  },
}
SCSS
$custom: #ba4d95;
$custom-light: #d284b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4d95",
  "rgb": {
    "r": 186,
    "g": 77,
    "b": 149
  },
  "hsl": {
    "h": 320.367,
    "s": 44.13,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58505,
    "c": 0.1627,
    "h": 342.9
  },
  "luminance": 0.17917
}

Semantic roles & 50–950 ramp

primary
#BA4D95
secondary
#99C9AA
accent
#D47F54
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA4D95

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

Preview Lab → · Contrast checker → · Palette generator →

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