#BA4497#BA4497

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

Color values

HEX#BA4497
RGBrgb(186, 68, 151)
HSLhsl(318, 46%, 50%)
HSVhsv(318, 63%, 73%)
CMYKcmyk(0%, 63.4%, 18.8%, 27.1%)
CIE-LABlab(48.02, 56.36, -21.26)
CIE-LCHlch(48.02, 60.24, 339.33°)
OKLaboklab(57.52% 0.1679 -0.057)
OKLCHoklch(57.52% 0.177 341.2)
XYZxyz(27.9034, 16.8102, 31.0473)
Luminance0.1681 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4497 #44BA67
analogous
#A244BA #BA4497 #BA445C
triadic
#BA4497 #97BA44 #4497BA
tetradic
#BA4497 #BAA244 #44BA67 #445CBA
square
#BA4497 #BAA244 #44BA67 #445CBA
split-complementary
#BA4497 #5CBA44 #44BAA2
monochromatic
#60234E #8D3473 #BA4497 #CB70B0 #DB9DC9

Accessibility & contrast

On white

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

On black

4.36
#BA4497 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA4497#FFFFFF#000000##FFFFFF
##BA44971.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C669A
Deuteranopia (green-blind)
#6F7994
Tritanopia (blue-blind)
#C54667
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba4497;
/* rgb */ color: rgb(186, 68, 151);
/* oklch */ color: oklch(57.5% 0.177 341.2);
Tailwind
colors: {
  custom: {
    50: '#d27fb5',
    500: '#ba4497',
    950: '#000000',
  },
}
SCSS
$custom: #ba4497;
$custom-light: #d27fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4497",
  "rgb": {
    "r": 186,
    "g": 68,
    "b": 151
  },
  "hsl": {
    "h": 317.797,
    "s": 46.457,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57516,
    "c": 0.17733,
    "h": 341.2
  },
  "luminance": 0.16808
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA4497

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

Preview Lab → · Contrast checker → · Palette generator →

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