#BA4E96#BA4E96

#BA4E96 is a mid, vivid pink. Relative luminance 0.181; OKLCH L 58.7% C 0.162 H 342.5°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#BA4E96
RGBrgb(186, 78, 150)
HSLhsl(320, 44%, 52%)
HSVhsv(320, 58%, 73%)
CMYKcmyk(0%, 58.1%, 19.4%, 27.1%)
CIE-LABlab(49.61, 51.79, -18.23)
CIE-LCHlch(49.61, 54.90, 340.61°)
OKLaboklab(58.67% 0.1543 -0.0487)
OKLCHoklch(58.67% 0.162 342.5)
XYZxyz(28.4798, 18.0923, 30.8405)
Luminance0.1809 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4E96 #4EBA72
analogous
#A84EBA #BA4E96 #BA4E60
triadic
#BA4E96 #96BA4E #4E96BA
tetradic
#BA4E96 #BAA84E #4EBA72 #4E60BA
square
#BA4E96 #BAA84E #4EBA72 #4E60BA
split-complementary
#BA4E96 #60BA4E #4EBAA8
monochromatic
#662851 #923974 #BA4E96 #CB7AB0 #DCA6CA

Accessibility & contrast

On white

4.55
#BA4E96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#BA4E96 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4E96
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4E96#FFFFFF#000000##000000
##BA4E961.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#566B98
Deuteranopia (green-blind)
#757C93
Tritanopia (blue-blind)
#C54F6B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba4e96;
/* rgb */ color: rgb(186, 78, 150);
/* oklch */ color: oklch(58.7% 0.162 342.5);
Tailwind
colors: {
  custom: {
    50: '#d285b5',
    500: '#ba4e96',
    950: '#000000',
  },
}
SCSS
$custom: #ba4e96;
$custom-light: #d285b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4e96",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 150
  },
  "hsl": {
    "h": 320,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58672,
    "c": 0.16184,
    "h": 342.5
  },
  "luminance": 0.1809
}

Semantic roles & 50–950 ramp

primary
#BA4E96
secondary
#9ACAAA
accent
#D47F54
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA4E96

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

Preview Lab → · Contrast checker → · Palette generator →

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