#BA3F7F#BA3F7F

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

Color values

HEX#BA3F7F
RGBrgb(186, 63, 127)
HSLhsl(329, 49%, 49%)
HSVhsv(329, 66%, 73%)
CMYKcmyk(0%, 66.1%, 31.7%, 27.1%)
CIE-LABlab(46.35, 55.24, -9.34)
CIE-LCHlch(46.35, 56.02, 350.40°)
OKLaboklab(55.99% 0.1684 -0.0241)
OKLCHoklch(55.99% 0.17 351.9)
XYZxyz(25.8593, 15.5292, 21.7102)
Luminance0.1553 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F7F #3FBA7A
analogous
#B83FBA #BA3F7F #BA3F42
triadic
#BA3F7F #7FBA3F #3F7FBA
tetradic
#BA3F7F #BAB83F #3FBA7A #3F42BA
square
#BA3F7F #BAB83F #3FBA7A #3F42BA
split-complementary
#BA3F7F #42BA3F #3FBAB8
monochromatic
#5F2041 #8C3060 #BA3F7F #CC6A9D #DC97BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3F7F#FFFFFF#000000##FFFFFF
##BA3F7F1.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)
#526081
Deuteranopia (green-blind)
#74767C
Tritanopia (blue-blind)
#C8385A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba3f7f;
/* rgb */ color: rgb(186, 63, 127);
/* oklch */ color: oklch(56.0% 0.170 351.9);
Tailwind
colors: {
  custom: {
    50: '#d37ca4',
    500: '#ba3f7f',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f7f;
$custom-light: #d37ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f7f",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 127
  },
  "hsl": {
    "h": 328.78,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55989,
    "c": 0.17014,
    "h": 351.9
  },
  "luminance": 0.15526
}

Semantic roles & 50–950 ramp

primary
#BA3F7F
secondary
#8DC8A9
accent
#D9914F
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA3F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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