#BA4496#BA4496

#BA4496 is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.5% C 0.177 H 341.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#BA4496
RGBrgb(186, 68, 150)
HSLhsl(318, 46%, 50%)
HSVhsv(318, 63%, 73%)
CMYKcmyk(0%, 63.4%, 19.4%, 27.1%)
CIE-LABlab(47.98, 56.22, -20.73)
CIE-LCHlch(47.98, 59.92, 339.76°)
OKLaboklab(57.47% 0.1677 -0.0555)
OKLCHoklch(57.47% 0.177 341.7)
XYZxyz(27.8226, 16.7779, 30.6214)
Luminance0.1678 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4496 #44BA68
analogous
#A344BA #BA4496 #BA445B
triadic
#BA4496 #96BA44 #4496BA
tetradic
#BA4496 #BAA344 #44BA68 #445BBA
square
#BA4496 #BAA344 #44BA68 #445BBA
split-complementary
#BA4496 #5BBA44 #44BAA3
monochromatic
#60234E #8D3472 #BA4496 #CB70AF #DB9DC8

Accessibility & contrast

On white

4.82
#BA4496 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#BA4496 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4496
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4496#FFFFFF#000000##FFFFFF
##BA44961.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6698
Deuteranopia (green-blind)
#707993
Tritanopia (blue-blind)
#C54567
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba4496;
/* rgb */ color: rgb(186, 68, 150);
/* oklch */ color: oklch(57.5% 0.177 341.7);
Tailwind
colors: {
  custom: {
    50: '#d27fb5',
    500: '#ba4496',
    950: '#000000',
  },
}
SCSS
$custom: #ba4496;
$custom-light: #d27fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4496",
  "rgb": {
    "r": 186,
    "g": 68,
    "b": 150
  },
  "hsl": {
    "h": 318.305,
    "s": 46.457,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57473,
    "c": 0.17666,
    "h": 341.7
  },
  "luminance": 0.16775
}

Semantic roles & 50–950 ramp

primary
#BA4496
secondary
#92C8A2
accent
#D67A52
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA4496

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

Preview Lab → · Contrast checker → · Palette generator →

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