#BA4080#BA4080

#BA4080 is a mid, vivid pink. Relative luminance 0.157; OKLCH L 56.1% C 0.169 H 351.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#BA4080
RGBrgb(186, 64, 128)
HSLhsl(329, 49%, 49%)
HSVhsv(329, 66%, 73%)
CMYKcmyk(0%, 65.6%, 31.2%, 27.1%)
CIE-LABlab(46.53, 54.95, -9.67)
CIE-LCHlch(46.53, 55.79, 350.02°)
OKLaboklab(56.14% 0.1674 -0.025)
OKLCHoklch(56.14% 0.169 351.5)
XYZxyz(25.9807, 15.6672, 22.0737)
Luminance0.1566 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4080 #40BA7A
analogous
#B740BA #BA4080 #BA4043
triadic
#BA4080 #80BA40 #4080BA
tetradic
#BA4080 #BAB740 #40BA7A #4043BA
square
#BA4080 #BAB740 #40BA7A #4043BA
split-complementary
#BA4080 #43BA40 #40BAB7
monochromatic
#5F2141 #8C3061 #BA4080 #CC6B9E #DC99BC

Accessibility & contrast

On white

5.08
#BA4080 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#BA4080 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4080
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4080#FFFFFF#000000##FFFFFF
##BA40801.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526082
Deuteranopia (green-blind)
#74767D
Tritanopia (blue-blind)
#C7395A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba4080;
/* rgb */ color: rgb(186, 64, 128);
/* oklch */ color: oklch(56.1% 0.169 351.5);
Tailwind
colors: {
  custom: {
    50: '#d37da4',
    500: '#ba4080',
    950: '#000000',
  },
}
SCSS
$custom: #ba4080;
$custom-light: #d37da4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4080",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 128
  },
  "hsl": {
    "h": 328.525,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56136,
    "c": 0.16929,
    "h": 351.5
  },
  "luminance": 0.15664
}

Semantic roles & 50–950 ramp

primary
#BA4080
secondary
#8EC8A9
accent
#D8914F
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA4080

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

Preview Lab → · Contrast checker → · Palette generator →

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