#BA4088#BA4088

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

Color values

HEX#BA4088
RGBrgb(186, 64, 136)
HSLhsl(325, 49%, 49%)
HSVhsv(325, 66%, 73%)
CMYKcmyk(0%, 65.6%, 26.9%, 27.1%)
CIE-LABlab(46.82, 55.96, -14.08)
CIE-LCHlch(46.82, 57.70, 345.88°)
OKLaboklab(56.45% 0.1696 -0.037)
OKLCHoklch(56.45% 0.174 347.7)
XYZxyz(26.5281, 15.8862, 24.9570)
Luminance0.1588 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4088 #40BA72
analogous
#AF40BA #BA4088 #BA404B
triadic
#BA4088 #88BA40 #4088BA
tetradic
#BA4088 #BAAF40 #40BA72 #404BBA
square
#BA4088 #BAAF40 #40BA72 #404BBA
split-complementary
#BA4088 #4BBA40 #40BAAF
monochromatic
#5F2145 #8C3067 #BA4088 #CC6BA4 #DC99C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA4088#FFFFFF#000000##FFFFFF
##BA40881.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba4088;
/* rgb */ color: rgb(186, 64, 136);
/* oklch */ color: oklch(56.4% 0.174 347.7);
Tailwind
colors: {
  custom: {
    50: '#d27daa',
    500: '#ba4088',
    950: '#000000',
  },
}
SCSS
$custom: #ba4088;
$custom-light: #d27daa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4088",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 136
  },
  "hsl": {
    "h": 324.59,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56445,
    "c": 0.17357,
    "h": 347.7
  },
  "luminance": 0.15883
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA4088

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

Preview Lab → · Contrast checker → · Palette generator →

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