#BA3888#BA3888

#BA3888 is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.6% C 0.184 H 346.9°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#BA3888
RGBrgb(186, 56, 136)
HSLhsl(323, 54%, 47%)
HSVhsv(323, 70%, 73%)
CMYKcmyk(0%, 69.9%, 26.9%, 27.1%)
CIE-LABlab(45.70, 59.08, -15.79)
CIE-LCHlch(45.70, 61.15, 345.04°)
OKLaboklab(55.62% 0.1792 -0.0417)
OKLCHoklch(55.62% 0.184 346.9)
XYZxyz(26.1089, 15.0478, 24.8173)
Luminance0.1505 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3888 #38BA6A
analogous
#AB38BA #BA3888 #BA3847
triadic
#BA3888 #88BA38 #3888BA
tetradic
#BA3888 #BAAB38 #38BA6A #3847BA
square
#BA3888 #BAAB38 #38BA6A #3847BA
split-complementary
#BA3888 #47BA38 #38BAAB
monochromatic
#5C1C43 #8B2A66 #BA3888 #CF60A4 #DD8FBF

Accessibility & contrast

On white

5.24
#BA3888 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#BA3888 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3888
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3888#FFFFFF#000000##FFFFFF
##BA38881.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495E8A
Deuteranopia (green-blind)
#6F7485
Tritanopia (blue-blind)
#C7345B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba3888;
/* rgb */ color: rgb(186, 56, 136);
/* oklch */ color: oklch(55.6% 0.184 346.9);
Tailwind
colors: {
  custom: {
    50: '#d379aa',
    500: '#ba3888',
    950: '#000000',
  },
}
SCSS
$custom: #ba3888;
$custom-light: #d379aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3888",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 136
  },
  "hsl": {
    "h": 323.077,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55619,
    "c": 0.18401,
    "h": 346.9
  },
  "luminance": 0.15045
}

Semantic roles & 50–950 ramp

primary
#BA3888
secondary
#86C89F
accent
#DD834B
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3888

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

Preview Lab → · Contrast checker → · Palette generator →

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