#BA4180#BA4180

#BA4180 is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.2% C 0.168 H 351.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#BA4180
RGBrgb(186, 65, 128)
HSLhsl(329, 48%, 49%)
HSVhsv(329, 65%, 73%)
CMYKcmyk(0%, 65.1%, 31.2%, 27.1%)
CIE-LABlab(46.69, 54.53, -9.44)
CIE-LCHlch(46.69, 55.35, 350.17°)
OKLaboklab(56.25% 0.1661 -0.0244)
OKLCHoklch(56.25% 0.168 351.6)
XYZxyz(26.0376, 15.7810, 22.0927)
Luminance0.1578 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4180 #41BA7B
analogous
#B841BA #BA4180 #BA4144
triadic
#BA4180 #80BA41 #4180BA
tetradic
#BA4180 #BAB841 #41BA7B #4144BA
square
#BA4180 #BAB841 #41BA7B #4144BA
split-complementary
#BA4180 #44BA41 #41BAB8
monochromatic
#5F2142 #8D3161 #BA4180 #CC6C9E #DC9ABC

Accessibility & contrast

On white

5.05
#BA4180 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#BA4180 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4180
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4180#FFFFFF#000000##FFFFFF
##BA41801.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536182
Deuteranopia (green-blind)
#75777D
Tritanopia (blue-blind)
#C73A5B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba4180;
/* rgb */ color: rgb(186, 65, 128);
/* oklch */ color: oklch(56.2% 0.168 351.6);
Tailwind
colors: {
  custom: {
    50: '#d37da4',
    500: '#ba4180',
    950: '#000000',
  },
}
SCSS
$custom: #ba4180;
$custom-light: #d37da4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4180",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 128
  },
  "hsl": {
    "h": 328.76,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56247,
    "c": 0.16792,
    "h": 351.6
  },
  "luminance": 0.15778
}

Semantic roles & 50–950 ramp

primary
#BA4180
secondary
#8FC8AA
accent
#D89150
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA4180

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

Preview Lab → · Contrast checker → · Palette generator →

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