#BA3D87#BA3D87

#BA3D87 is a mid, vivid pink. Relative luminance 0.155; OKLCH L 56.1% C 0.177 H 347.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#BA3D87
RGBrgb(186, 61, 135)
HSLhsl(324, 51%, 48%)
HSVhsv(324, 67%, 73%)
CMYKcmyk(0%, 67.2%, 27.4%, 27.1%)
CIE-LABlab(46.35, 57.04, -14.20)
CIE-LCHlch(46.35, 58.78, 346.02°)
OKLaboklab(56.08% 0.1731 -0.0373)
OKLCHoklch(56.08% 0.177 347.8)
XYZxyz(26.2928, 15.5286, 24.5296)
Luminance0.1553 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3D87 #3DBA70
analogous
#AE3DBA #BA3D87 #BA3D48
triadic
#BA3D87 #87BA3D #3D87BA
tetradic
#BA3D87 #BAAE3D #3DBA70 #3D48BA
square
#BA3D87 #BAAE3D #3DBA70 #3D48BA
split-complementary
#BA3D87 #48BA3D #3DBAAE
monochromatic
#5E1F44 #8C2E66 #BA3D87 #CD67A3 #DC95BF

Accessibility & contrast

On white

5.12
#BA3D87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#BA3D87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3D87
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3D87#FFFFFF#000000##FFFFFF
##BA3D871.005.124.115.12
#FFFFFF5.121.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6089
Deuteranopia (green-blind)
#717684
Tritanopia (blue-blind)
#C7395C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba3d87;
/* rgb */ color: rgb(186, 61, 135);
/* oklch */ color: oklch(56.1% 0.177 347.8);
Tailwind
colors: {
  custom: {
    50: '#d37baa',
    500: '#ba3d87',
    950: '#000000',
  },
}
SCSS
$custom: #ba3d87;
$custom-light: #d37baa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3d87",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 135
  },
  "hsl": {
    "h": 324.48,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56083,
    "c": 0.17703,
    "h": 347.8
  },
  "luminance": 0.15526
}

Semantic roles & 50–950 ramp

primary
#BA3D87
secondary
#8BC8A4
accent
#DA874E
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3D87

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

Preview Lab → · Contrast checker → · Palette generator →

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