#BA4D7D#BA4D7D

#BA4D7D is a mid, vivid pink. Relative luminance 0.172; OKLCH L 57.6% C 0.149 H 355.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#BA4D7D
RGBrgb(186, 77, 125)
HSLhsl(334, 44%, 52%)
HSVhsv(334, 59%, 73%)
CMYKcmyk(0%, 58.6%, 32.8%, 27.1%)
CIE-LABlab(48.55, 48.85, -4.85)
CIE-LCHlch(48.55, 49.09, 354.33°)
OKLaboklab(57.6% 0.1487 -0.0122)
OKLCHoklch(57.6% 0.149 355.3)
XYZxyz(26.6066, 17.2302, 21.3226)
Luminance0.1723 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4D7D #4DBA8A
analogous
#BA4DB4 #BA4D7D #BA544D
triadic
#BA4D7D #7DBA4D #4D7DBA
tetradic
#BA4D7D #B4BA4D #4DBA8A #544DBA
square
#BA4D7D #B4BA4D #4DBA8A #544DBA
split-complementary
#BA4D7D #4DBA54 #4DB4BA
monochromatic
#652743 #913860 #BA4D7D #CB799D #DCA5BD

Accessibility & contrast

On white

4.72
#BA4D7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#BA4D7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4D7D
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4D7D#FFFFFF#000000##FFFFFF
##BA4D7D1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E677E
Deuteranopia (green-blind)
#7B7B7A
Tritanopia (blue-blind)
#C74660
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba4d7d;
/* rgb */ color: rgb(186, 77, 125);
/* oklch */ color: oklch(57.6% 0.149 355.3);
Tailwind
colors: {
  custom: {
    50: '#d284a2',
    500: '#ba4d7d',
    950: '#000000',
  },
}
SCSS
$custom: #ba4d7d;
$custom-light: #d284a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4d7d",
  "rgb": {
    "r": 186,
    "g": 77,
    "b": 125
  },
  "hsl": {
    "h": 333.578,
    "s": 44.13,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57596,
    "c": 0.14922,
    "h": 355.3
  },
  "luminance": 0.17228
}

Semantic roles & 50–950 ramp

primary
#BA4D7D
secondary
#99C9B4
accent
#D49C54
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0F
muted
#837C7E

Preview Lab

Preview with #BA4D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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