#BA4698#BA4698

#BA4698 is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.8% C 0.175 H 340.9°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#BA4698
RGBrgb(186, 70, 152)
HSLhsl(318, 46%, 50%)
HSVhsv(318, 62%, 73%)
CMYKcmyk(0%, 62.4%, 18.3%, 27.1%)
CIE-LABlab(48.37, 55.66, -21.31)
CIE-LCHlch(48.37, 59.60, 339.04°)
OKLaboklab(57.79% 0.1655 -0.0572)
OKLCHoklch(57.79% 0.175 340.9)
XYZxyz(28.1080, 17.0889, 31.5178)
Luminance0.1709 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4698 #46BA68
analogous
#A246BA #BA4698 #BA465E
triadic
#BA4698 #98BA46 #4698BA
tetradic
#BA4698 #BAA246 #46BA68 #465EBA
square
#BA4698 #BAA246 #46BA68 #465EBA
split-complementary
#BA4698 #5EBA46 #46BAA2
monochromatic
#61244F #8E3574 #BA4698 #CB73B1 #DB9FCA

Accessibility & contrast

On white

4.75
#BA4698 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#BA4698 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4698
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4698#FFFFFF#000000##FFFFFF
##BA46981.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D679B
Deuteranopia (green-blind)
#707A95
Tritanopia (blue-blind)
#C54869
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba4698;
/* rgb */ color: rgb(186, 70, 152);
/* oklch */ color: oklch(57.8% 0.175 340.9);
Tailwind
colors: {
  custom: {
    50: '#d280b6',
    500: '#ba4698',
    950: '#000000',
  },
}
SCSS
$custom: #ba4698;
$custom-light: #d280b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4698",
  "rgb": {
    "r": 186,
    "g": 70,
    "b": 152
  },
  "hsl": {
    "h": 317.586,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57788,
    "c": 0.17515,
    "h": 340.9
  },
  "luminance": 0.17086
}

Semantic roles & 50–950 ramp

primary
#BA4698
secondary
#94C8A3
accent
#D57952
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA4698

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

Preview Lab → · Contrast checker → · Palette generator →

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