#BA4099#BA4099

#BA4099 is a mid, vivid pink. Relative luminance 0.164; OKLCH L 57.2% C 0.184 H 340.1°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#BA4099
RGBrgb(186, 64, 153)
HSLhsl(316, 49%, 49%)
HSVhsv(316, 66%, 73%)
CMYKcmyk(0%, 65.6%, 17.7%, 27.1%)
CIE-LABlab(47.51, 58.30, -23.25)
CIE-LCHlch(47.51, 62.76, 338.26°)
OKLaboklab(57.17% 0.1733 -0.0626)
OKLCHoklch(57.17% 0.184 340.1)
XYZxyz(27.8335, 16.4083, 31.8321)
Luminance0.1641 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4099 #40BA61
analogous
#9E40BA #BA4099 #BA405C
triadic
#BA4099 #99BA40 #4099BA
tetradic
#BA4099 #BA9E40 #40BA61 #405CBA
square
#BA4099 #BA9E40 #40BA61 #405CBA
split-complementary
#BA4099 #5CBA40 #40BA9E
monochromatic
#5F214E #8C3074 #BA4099 #CC6BB2 #DC99CA

Accessibility & contrast

On white

4.91
#BA4099 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#BA4099 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4099
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4099#FFFFFF#000000##FFFFFF
##BA40991.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47649C
Deuteranopia (green-blind)
#6D7896
Tritanopia (blue-blind)
#C54367
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba4099;
/* rgb */ color: rgb(186, 64, 153);
/* oklch */ color: oklch(57.2% 0.184 340.1);
Tailwind
colors: {
  custom: {
    50: '#d27db7',
    500: '#ba4099',
    950: '#000000',
  },
}
SCSS
$custom: #ba4099;
$custom-light: #d27db7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4099",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 153
  },
  "hsl": {
    "h": 316.23,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57167,
    "c": 0.18422,
    "h": 340.1
  },
  "luminance": 0.16406
}

Semantic roles & 50–950 ramp

primary
#BA4099
secondary
#8EC89E
accent
#D8744F
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA4099

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

Preview Lab → · Contrast checker → · Palette generator →

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