#BA4D9D#BA4D9D

#BA4D9D is a mid, vivid pink. Relative luminance 0.182; OKLCH L 58.8% C 0.168 H 339.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#BA4D9D
RGBrgb(186, 77, 157)
HSLhsl(316, 44%, 52%)
HSVhsv(316, 59%, 73%)
CMYKcmyk(0%, 58.6%, 15.6%, 27.1%)
CIE-LABlab(49.72, 53.30, -22.21)
CIE-LCHlch(49.72, 57.74, 337.38°)
OKLaboklab(58.85% 0.1573 -0.0598)
OKLCHoklch(58.85% 0.168 339.2)
XYZxyz(28.9899, 18.1836, 33.8747)
Luminance0.1818 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4D9D #4DBA6A
analogous
#A14DBA #BA4D9D #BA4D67
triadic
#BA4D9D #9DBA4D #4D9DBA
tetradic
#BA4D9D #BAA14D #4DBA6A #4D67BA
square
#BA4D9D #BAA14D #4DBA6A #4D67BA
split-complementary
#BA4D9D #67BA4D #4DBAA1
monochromatic
#652755 #91387A #BA4D9D #CB79B5 #DCA5CE

Accessibility & contrast

On white

4.53
#BA4D9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#BA4D9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4D9D
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4D9D#FFFFFF#000000##000000
##BA4D9D1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#526BA0
Deuteranopia (green-blind)
#727D9A
Tritanopia (blue-blind)
#C4506E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba4d9d;
/* rgb */ color: rgb(186, 77, 157);
/* oklch */ color: oklch(58.8% 0.168 339.2);
Tailwind
colors: {
  custom: {
    50: '#d284ba',
    500: '#ba4d9d',
    950: '#000000',
  },
}
SCSS
$custom: #ba4d9d;
$custom-light: #d284ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4d9d",
  "rgb": {
    "r": 186,
    "g": 77,
    "b": 157
  },
  "hsl": {
    "h": 315.963,
    "s": 44.13,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58846,
    "c": 0.16826,
    "h": 339.2
  },
  "luminance": 0.18181
}

Semantic roles & 50–950 ramp

primary
#BA4D9D
secondary
#99C9A6
accent
#D47654
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA4D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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