#BA4199#BA4199

#BA4199 is a mid, vivid pink. Relative luminance 0.165; OKLCH L 57.3% C 0.183 H 340.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#BA4199
RGBrgb(186, 65, 153)
HSLhsl(316, 48%, 49%)
HSVhsv(316, 65%, 73%)
CMYKcmyk(0%, 65.1%, 17.7%, 27.1%)
CIE-LABlab(47.65, 57.90, -23.02)
CIE-LCHlch(47.65, 62.30, 338.32°)
OKLaboklab(57.27% 0.172 -0.062)
OKLCHoklch(57.27% 0.183 340.2)
XYZxyz(27.8904, 16.5221, 31.8510)
Luminance0.1652 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4199 #41BA62
analogous
#9F41BA #BA4199 #BA415C
triadic
#BA4199 #99BA41 #4199BA
tetradic
#BA4199 #BA9F41 #41BA62 #415CBA
square
#BA4199 #BA9F41 #41BA62 #415CBA
split-complementary
#BA4199 #5CBA41 #41BA9F
monochromatic
#5F214E #8D3174 #BA4199 #CC6CB2 #DC9ACA

Accessibility & contrast

On white

4.88
#BA4199 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#BA4199 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4199
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4199#FFFFFF#000000##FFFFFF
##BA41991.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba4199;
/* rgb */ color: rgb(186, 65, 153);
/* oklch */ color: oklch(57.3% 0.183 340.2);
Tailwind
colors: {
  custom: {
    50: '#d27eb7',
    500: '#ba4199',
    950: '#000000',
  },
}
SCSS
$custom: #ba4199;
$custom-light: #d27eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4199",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 153
  },
  "hsl": {
    "h": 316.364,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57274,
    "c": 0.18286,
    "h": 340.2
  },
  "luminance": 0.1652
}

Semantic roles & 50–950 ramp

primary
#BA4199
secondary
#8FC89F
accent
#D87550
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140A11
muted
#837C80

Preview Lab

Preview with #BA4199

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

Preview Lab → · Contrast checker → · Palette generator →

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