#BA3E88#BA3E88

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

Color values

HEX#BA3E88
RGBrgb(186, 62, 136)
HSLhsl(324, 50%, 49%)
HSVhsv(324, 67%, 73%)
CMYKcmyk(0%, 66.7%, 26.9%, 27.1%)
CIE-LABlab(46.53, 56.77, -14.52)
CIE-LCHlch(46.53, 58.60, 345.65°)
OKLaboklab(56.23% 0.1721 -0.0383)
OKLCHoklch(56.23% 0.176 347.5)
XYZxyz(26.4174, 15.6647, 24.9201)
Luminance0.1566 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3E88 #3EBA70
analogous
#AE3EBA #BA3E88 #BA3E4A
triadic
#BA3E88 #88BA3E #3E88BA
tetradic
#BA3E88 #BAAE3E #3EBA70 #3E4ABA
square
#BA3E88 #BAAE3E #3EBA70 #3E4ABA
split-complementary
#BA3E88 #4ABA3E #3EBAAE
monochromatic
#5E1F45 #8C2F66 #BA3E88 #CD68A4 #DC96C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3E88#FFFFFF#000000##FFFFFF
##BA3E881.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)
#4D618A
Deuteranopia (green-blind)
#717685
Tritanopia (blue-blind)
#C73A5D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba3e88;
/* rgb */ color: rgb(186, 62, 136);
/* oklch */ color: oklch(56.2% 0.176 347.5);
Tailwind
colors: {
  custom: {
    50: '#d27caa',
    500: '#ba3e88',
    950: '#000000',
  },
}
SCSS
$custom: #ba3e88;
$custom-light: #d27caa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3e88",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 136
  },
  "hsl": {
    "h": 324.194,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56229,
    "c": 0.17627,
    "h": 347.5
  },
  "luminance": 0.15662
}

Semantic roles & 50–950 ramp

primary
#BA3E88
secondary
#8CC8A4
accent
#DA864E
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3E88

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

Preview Lab → · Contrast checker → · Palette generator →

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