#BA4498#BA4498

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

Color values

HEX#BA4498
RGBrgb(186, 68, 152)
HSLhsl(317, 46%, 50%)
HSVhsv(317, 63%, 73%)
CMYKcmyk(0%, 63.4%, 18.3%, 27.1%)
CIE-LABlab(48.06, 56.51, -21.79)
CIE-LCHlch(48.06, 60.56, 338.91°)
OKLaboklab(57.56% 0.1681 -0.0585)
OKLCHoklch(57.56% 0.178 340.8)
XYZxyz(27.9850, 16.8429, 31.4768)
Luminance0.1684 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4498 #44BA66
analogous
#A144BA #BA4498 #BA445D
triadic
#BA4498 #98BA44 #4498BA
tetradic
#BA4498 #BAA144 #44BA66 #445DBA
square
#BA4498 #BAA144 #44BA66 #445DBA
split-complementary
#BA4498 #5DBA44 #44BAA1
monochromatic
#60234F #8D3473 #BA4498 #CB70B1 #DB9DC9

Accessibility & contrast

On white

4.81
#BA4498 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#BA4498 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4498
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4498#FFFFFF#000000##FFFFFF
##BA44981.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B669B
Deuteranopia (green-blind)
#6F7995
Tritanopia (blue-blind)
#C54668
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba4498;
/* rgb */ color: rgb(186, 68, 152);
/* oklch */ color: oklch(57.6% 0.178 340.8);
Tailwind
colors: {
  custom: {
    50: '#d27fb6',
    500: '#ba4498',
    950: '#000000',
  },
}
SCSS
$custom: #ba4498;
$custom-light: #d27fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4498",
  "rgb": {
    "r": 186,
    "g": 68,
    "b": 152
  },
  "hsl": {
    "h": 317.288,
    "s": 46.457,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5756,
    "c": 0.17801,
    "h": 340.8
  },
  "luminance": 0.1684
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA4498

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

Preview Lab → · Contrast checker → · Palette generator →

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