#BA4086#BA4086

#BA4086 is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.4% C 0.172 H 348.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#BA4086
RGBrgb(186, 64, 134)
HSLhsl(326, 49%, 49%)
HSVhsv(326, 66%, 73%)
CMYKcmyk(0%, 65.6%, 28%, 27.1%)
CIE-LABlab(46.75, 55.70, -12.98)
CIE-LCHlch(46.75, 57.20, 346.88°)
OKLaboklab(56.37% 0.1691 -0.034)
OKLCHoklch(56.37% 0.172 348.6)
XYZxyz(26.3873, 15.8299, 24.2154)
Luminance0.1583 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4086 #40BA74
analogous
#B140BA #BA4086 #BA4049
triadic
#BA4086 #86BA40 #4086BA
tetradic
#BA4086 #BAB140 #40BA74 #4049BA
square
#BA4086 #BAB140 #40BA74 #4049BA
split-complementary
#BA4086 #49BA40 #40BAB1
monochromatic
#5F2144 #8C3065 #BA4086 #CC6BA3 #DC99BF

Accessibility & contrast

On white

5.04
#BA4086 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#BA4086 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4086
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4086#FFFFFF#000000##FFFFFF
##BA40861.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506188
Deuteranopia (green-blind)
#737783
Tritanopia (blue-blind)
#C73B5D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba4086;
/* rgb */ color: rgb(186, 64, 134);
/* oklch */ color: oklch(56.4% 0.172 348.6);
Tailwind
colors: {
  custom: {
    50: '#d27da9',
    500: '#ba4086',
    950: '#000000',
  },
}
SCSS
$custom: #ba4086;
$custom-light: #d27da9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4086",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 134
  },
  "hsl": {
    "h": 325.574,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56366,
    "c": 0.17245,
    "h": 348.6
  },
  "luminance": 0.15827
}

Semantic roles & 50–950 ramp

primary
#BA4086
secondary
#8EC8A7
accent
#D88A4F
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA4086

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

Preview Lab → · Contrast checker → · Palette generator →

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