#BA4398#BA4398

#BA4398 is a mid, vivid pink. Relative luminance 0.167; OKLCH L 57.4% C 0.179 H 340.7°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#BA4398
RGBrgb(186, 67, 152)
HSLhsl(317, 47%, 50%)
HSVhsv(317, 64%, 73%)
CMYKcmyk(0%, 64%, 18.3%, 27.1%)
CIE-LABlab(47.91, 56.93, -22.03)
CIE-LCHlch(47.91, 61.04, 338.85°)
OKLaboklab(57.45% 0.1694 -0.0592)
OKLCHoklch(57.45% 0.179 340.7)
XYZxyz(27.9250, 16.7229, 31.4568)
Luminance0.1672 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4398 #43BA65
analogous
#A143BA #BA4398 #BA435C
triadic
#BA4398 #98BA43 #4398BA
tetradic
#BA4398 #BAA143 #43BA65 #435CBA
square
#BA4398 #BAA143 #43BA65 #435CBA
split-complementary
#BA4398 #5CBA43 #43BAA1
monochromatic
#60234E #8D3373 #BA4398 #CB6FB1 #DB9CC9

Accessibility & contrast

On white

4.83
#BA4398 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#BA4398 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4398
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4398#FFFFFF#000000##FFFFFF
##BA43981.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba4398;
/* rgb */ color: rgb(186, 67, 152);
/* oklch */ color: oklch(57.4% 0.179 340.7);
Tailwind
colors: {
  custom: {
    50: '#d27fb6',
    500: '#ba4398',
    950: '#000000',
  },
}
SCSS
$custom: #ba4398;
$custom-light: #d27fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4398",
  "rgb": {
    "r": 186,
    "g": 67,
    "b": 152
  },
  "hsl": {
    "h": 317.143,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57448,
    "c": 0.17941,
    "h": 340.7
  },
  "luminance": 0.1672
}

Semantic roles & 50–950 ramp

primary
#BA4398
secondary
#91C8A1
accent
#D77751
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA4398

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

Preview Lab → · Contrast checker → · Palette generator →

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