#BA4D8D#BA4D8D

#BA4D8D is a mid, vivid pink. Relative luminance 0.177; OKLCH L 58.2% C 0.158 H 346.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#BA4D8D
RGBrgb(186, 77, 141)
HSLhsl(325, 44%, 52%)
HSVhsv(325, 59%, 73%)
CMYKcmyk(0%, 58.6%, 24.2%, 27.1%)
CIE-LABlab(49.10, 50.96, -13.64)
CIE-LCHlch(49.10, 52.75, 345.01°)
OKLaboklab(58.18% 0.1535 -0.0359)
OKLCHoklch(58.18% 0.158 346.8)
XYZxyz(27.7122, 17.6725, 27.1458)
Luminance0.1767 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4D8D #4DBA7A
analogous
#B14DBA #BA4D8D #BA4D57
triadic
#BA4D8D #8DBA4D #4D8DBA
tetradic
#BA4D8D #BAB14D #4DBA7A #4D57BA
square
#BA4D8D #BAB14D #4DBA7A #4D57BA
split-complementary
#BA4D8D #57BA4D #4DBAB1
monochromatic
#65274C #91386D #BA4D8D #CB79A9 #DCA5C5

Accessibility & contrast

On white

4.63
#BA4D8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#BA4D8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4D8D
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4D8D#FFFFFF#000000##FFFFFF
##BA4D8D1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58698F
Deuteranopia (green-blind)
#777C8A
Tritanopia (blue-blind)
#C64B67
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba4d8d;
/* rgb */ color: rgb(186, 77, 141);
/* oklch */ color: oklch(58.2% 0.158 346.8);
Tailwind
colors: {
  custom: {
    50: '#d284ae',
    500: '#ba4d8d',
    950: '#000000',
  },
}
SCSS
$custom: #ba4d8d;
$custom-light: #d284ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4d8d",
  "rgb": {
    "r": 186,
    "g": 77,
    "b": 141
  },
  "hsl": {
    "h": 324.771,
    "s": 44.13,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58182,
    "c": 0.15762,
    "h": 346.8
  },
  "luminance": 0.1767
}

Semantic roles & 50–950 ramp

primary
#BA4D8D
secondary
#99C9AD
accent
#D48954
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #BA4D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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