#BA4087#BA4087

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

Color values

HEX#BA4087
RGBrgb(186, 64, 135)
HSLhsl(325, 49%, 49%)
HSVhsv(325, 66%, 73%)
CMYKcmyk(0%, 65.6%, 27.4%, 27.1%)
CIE-LABlab(46.79, 55.83, -13.53)
CIE-LCHlch(46.79, 57.45, 346.38°)
OKLaboklab(56.41% 0.1693 -0.0355)
OKLCHoklch(56.41% 0.173 348.1)
XYZxyz(26.4574, 15.8579, 24.5845)
Luminance0.1585 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4087 #40BA73
analogous
#B040BA #BA4087 #BA404A
triadic
#BA4087 #87BA40 #4087BA
tetradic
#BA4087 #BAB040 #40BA73 #404ABA
square
#BA4087 #BAB040 #40BA73 #404ABA
split-complementary
#BA4087 #4ABA40 #40BAB0
monochromatic
#5F2145 #8C3066 #BA4087 #CC6BA4 #DC99C0

Accessibility & contrast

On white

5.03
#BA4087 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA4087
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4087#FFFFFF#000000##FFFFFF
##BA40871.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6189
Deuteranopia (green-blind)
#727784
Tritanopia (blue-blind)
#C73C5E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba4087;
/* rgb */ color: rgb(186, 64, 135);
/* oklch */ color: oklch(56.4% 0.173 348.1);
Tailwind
colors: {
  custom: {
    50: '#d27daa',
    500: '#ba4087',
    950: '#000000',
  },
}
SCSS
$custom: #ba4087;
$custom-light: #d27daa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4087",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 135
  },
  "hsl": {
    "h": 325.082,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56405,
    "c": 0.17301,
    "h": 348.1
  },
  "luminance": 0.15855
}

Semantic roles & 50–950 ramp

primary
#BA4087
secondary
#8EC8A6
accent
#D8894F
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA4087

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

Preview Lab → · Contrast checker → · Palette generator →

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