#BA4299#BA4299

#BA4299 is a mid, vivid pink. Relative luminance 0.166; OKLCH L 57.4% C 0.181 H 340.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#BA4299
RGBrgb(186, 66, 153)
HSLhsl(317, 48%, 49%)
HSVhsv(317, 65%, 73%)
CMYKcmyk(0%, 64.5%, 17.7%, 27.1%)
CIE-LABlab(47.80, 57.48, -22.79)
CIE-LCHlch(47.80, 61.84, 338.37°)
OKLaboklab(57.38% 0.1708 -0.0613)
OKLCHoklch(57.38% 0.181 340.2)
XYZxyz(27.9483, 16.6380, 31.8703)
Luminance0.1663 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4299 #42BA63
analogous
#9F42BA #BA4299 #BA425D
triadic
#BA4299 #99BA42 #4299BA
tetradic
#BA4299 #BA9F42 #42BA63 #425DBA
square
#BA4299 #BA9F42 #42BA63 #425DBA
split-complementary
#BA4299 #5DBA42 #42BA9F
monochromatic
#60224F #8D3274 #BA4299 #CB6EB2 #DB9BCA

Accessibility & contrast

On white

4.85
#BA4299 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#BA4299 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4299
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4299#FFFFFF#000000##FFFFFF
##BA42991.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49659C
Deuteranopia (green-blind)
#6E7896
Tritanopia (blue-blind)
#C54567
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba4299;
/* rgb */ color: rgb(186, 66, 153);
/* oklch */ color: oklch(57.4% 0.181 340.2);
Tailwind
colors: {
  custom: {
    50: '#d27eb7',
    500: '#ba4299',
    950: '#000000',
  },
}
SCSS
$custom: #ba4299;
$custom-light: #d27eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4299",
  "rgb": {
    "r": 186,
    "g": 66,
    "b": 153
  },
  "hsl": {
    "h": 316.5,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57383,
    "c": 0.18149,
    "h": 340.2
  },
  "luminance": 0.16635
}

Semantic roles & 50–950 ramp

primary
#BA4299
secondary
#90C89F
accent
#D77651
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA4299

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

Preview Lab → · Contrast checker → · Palette generator →

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