#BA4985#BA4985

#BA4985 is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.4% C 0.159 H 350.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#BA4985
RGBrgb(186, 73, 133)
HSLhsl(328, 45%, 51%)
HSVhsv(328, 61%, 73%)
CMYKcmyk(0%, 60.8%, 28.5%, 27.1%)
CIE-LABlab(48.13, 51.70, -10.29)
CIE-LCHlch(48.13, 52.72, 348.74°)
OKLaboklab(57.38% 0.1568 -0.0268)
OKLCHoklch(57.38% 0.159 350.3)
XYZxyz(26.8670, 16.9003, 24.0329)
Luminance0.1690 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4985 #49BA7E
analogous
#B749BA #BA4985 #BA494C
triadic
#BA4985 #85BA49 #4985BA
tetradic
#BA4985 #BAB749 #49BA7E #494CBA
square
#BA4985 #BAB749 #49BA7E #494CBA
split-complementary
#BA4985 #4CBA49 #49BAB7
monochromatic
#632646 #8F3666 #BA4985 #CB75A3 #DCA2C0

Accessibility & contrast

On white

4.79
#BA4985 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#BA4985 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4985
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4985#FFFFFF#000000##FFFFFF
##BA49851.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586687
Deuteranopia (green-blind)
#777A82
Tritanopia (blue-blind)
#C74461
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba4985;
/* rgb */ color: rgb(186, 73, 133);
/* oklch */ color: oklch(57.4% 0.159 350.3);
Tailwind
colors: {
  custom: {
    50: '#d282a8',
    500: '#ba4985',
    950: '#000000',
  },
}
SCSS
$custom: #ba4985;
$custom-light: #d282a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4985",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 133
  },
  "hsl": {
    "h": 328.142,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57375,
    "c": 0.1591,
    "h": 350.3
  },
  "luminance": 0.16898
}

Semantic roles & 50–950 ramp

primary
#BA4985
secondary
#96C8AE
accent
#D59053
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150B0F
muted
#837C7F

Preview Lab

Preview with #BA4985

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

Preview Lab → · Contrast checker → · Palette generator →

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