#BA4B99#BA4B99

#BA4B99 is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.4% C 0.168 H 340.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#BA4B99
RGBrgb(186, 75, 153)
HSLhsl(318, 45%, 51%)
HSVhsv(318, 60%, 73%)
CMYKcmyk(0%, 59.7%, 17.7%, 27.1%)
CIE-LABlab(49.22, 53.60, -20.61)
CIE-LCHlch(49.22, 57.43, 338.97°)
OKLaboklab(58.43% 0.1591 -0.0553)
OKLCHoklch(58.43% 0.168 340.8)
XYZxyz(28.5162, 17.7736, 32.0596)
Luminance0.1777 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4B99 #4BBA6C
analogous
#A34BBA #BA4B99 #BA4B61
triadic
#BA4B99 #99BA4B #4B99BA
tetradic
#BA4B99 #BAA34B #4BBA6C #4B61BA
square
#BA4B99 #BAA34B #4BBA6C #4B61BA
split-complementary
#BA4B99 #61BA4B #4BBAA3
monochromatic
#642652 #903776 #BA4B99 #CB77B2 #DCA3CB

Accessibility & contrast

On white

4.61
#BA4B99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#BA4B99 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4B99
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4B99#FFFFFF#000000##FFFFFF
##BA4B991.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526A9B
Deuteranopia (green-blind)
#727C96
Tritanopia (blue-blind)
#C44D6B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba4b99;
/* rgb */ color: rgb(186, 75, 153);
/* oklch */ color: oklch(58.4% 0.168 340.8);
Tailwind
colors: {
  custom: {
    50: '#d283b7',
    500: '#ba4b99',
    950: '#000000',
  },
}
SCSS
$custom: #ba4b99;
$custom-light: #d283b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4b99",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 153
  },
  "hsl": {
    "h": 317.838,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58425,
    "c": 0.16846,
    "h": 340.8
  },
  "luminance": 0.17771
}

Semantic roles & 50–950 ramp

primary
#BA4B99
secondary
#98C9A6
accent
#D47A54
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA4B99

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

Preview Lab → · Contrast checker → · Palette generator →

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