#BA4185#BA4185

#BA4185 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.4% C 0.171 H 349.2°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#BA4185
RGBrgb(186, 65, 133)
HSLhsl(326, 48%, 49%)
HSVhsv(326, 65%, 73%)
CMYKcmyk(0%, 65.1%, 28.5%, 27.1%)
CIE-LABlab(46.86, 55.16, -12.21)
CIE-LCHlch(46.86, 56.50, 347.52°)
OKLaboklab(56.44% 0.1675 -0.0319)
OKLCHoklch(56.44% 0.171 349.2)
XYZxyz(26.3748, 15.9159, 23.8688)
Luminance0.1591 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4185 #41BA76
analogous
#B341BA #BA4185 #BA4149
triadic
#BA4185 #85BA41 #4185BA
tetradic
#BA4185 #BAB341 #41BA76 #4149BA
square
#BA4185 #BAB341 #41BA76 #4149BA
split-complementary
#BA4185 #49BA41 #41BAB3
monochromatic
#5F2144 #8D3165 #BA4185 #CC6CA2 #DC9ABF

Accessibility & contrast

On white

5.02
#BA4185 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#BA4185 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4185
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4185#FFFFFF#000000##FFFFFF
##BA41851.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516287
Deuteranopia (green-blind)
#737782
Tritanopia (blue-blind)
#C73C5D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba4185;
/* rgb */ color: rgb(186, 65, 133);
/* oklch */ color: oklch(56.4% 0.171 349.2);
Tailwind
colors: {
  custom: {
    50: '#d27da8',
    500: '#ba4185',
    950: '#000000',
  },
}
SCSS
$custom: #ba4185;
$custom-light: #d27da8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4185",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 133
  },
  "hsl": {
    "h": 326.281,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56437,
    "c": 0.17053,
    "h": 349.2
  },
  "luminance": 0.15913
}

Semantic roles & 50–950 ramp

primary
#BA4185
secondary
#8FC8A8
accent
#D88B50
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA4185

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

Preview Lab → · Contrast checker → · Palette generator →

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