#BA3F84#BA3F84

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

Color values

HEX#BA3F84
RGBrgb(186, 63, 132)
HSLhsl(326, 49%, 49%)
HSVhsv(326, 66%, 73%)
CMYKcmyk(0%, 66.1%, 29%, 27.1%)
CIE-LABlab(46.53, 55.86, -12.11)
CIE-LCHlch(46.53, 57.15, 347.77°)
OKLaboklab(56.18% 0.1698 -0.0316)
OKLCHoklch(56.18% 0.173 349.4)
XYZxyz(26.1933, 15.6628, 23.4691)
Luminance0.1566 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F84 #3FBA75
analogous
#B33FBA #BA3F84 #BA3F47
triadic
#BA3F84 #84BA3F #3F84BA
tetradic
#BA3F84 #BAB33F #3FBA75 #3F47BA
square
#BA3F84 #BAB33F #3FBA75 #3F47BA
split-complementary
#BA3F84 #47BA3F #3FBAB3
monochromatic
#5F2043 #8C3064 #BA3F84 #CC6AA1 #DC97BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3F84#FFFFFF#000000##FFFFFF
##BA3F841.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)
#506086
Deuteranopia (green-blind)
#737681
Tritanopia (blue-blind)
#C73A5C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba3f84;
/* rgb */ color: rgb(186, 63, 132);
/* oklch */ color: oklch(56.2% 0.173 349.4);
Tailwind
colors: {
  custom: {
    50: '#d37ca7',
    500: '#ba3f84',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f84;
$custom-light: #d37ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f84",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 132
  },
  "hsl": {
    "h": 326.341,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56179,
    "c": 0.17272,
    "h": 349.4
  },
  "luminance": 0.1566
}

Semantic roles & 50–950 ramp

primary
#BA3F84
secondary
#8DC8A7
accent
#D98B4F
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA3F84

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

Preview Lab → · Contrast checker → · Palette generator →

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