#BA3F8F#BA3F8F

#BA3F8F is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.6% C 0.179 H 344.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#BA3F8F
RGBrgb(186, 63, 143)
HSLhsl(321, 49%, 49%)
HSVhsv(321, 66%, 73%)
CMYKcmyk(0%, 66.1%, 23.1%, 27.1%)
CIE-LABlab(46.95, 57.30, -18.11)
CIE-LCHlch(46.95, 60.09, 342.46°)
OKLaboklab(56.62% 0.1725 -0.0482)
OKLCHoklch(56.62% 0.179 344.4)
XYZxyz(26.9861, 15.9799, 27.6445)
Luminance0.1598 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F8F #3FBA6A
analogous
#A83FBA #BA3F8F #BA3F51
triadic
#BA3F8F #8FBA3F #3F8FBA
tetradic
#BA3F8F #BAA83F #3FBA6A #3F51BA
square
#BA3F8F #BAA83F #3FBA6A #3F51BA
split-complementary
#BA3F8F #51BA3F #3FBAA8
monochromatic
#5F2049 #8C306C #BA3F8F #CC6AAA #DC97C4

Accessibility & contrast

On white

5.01
#BA3F8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#BA3F8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3F8F
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3F8F#FFFFFF#000000##FFFFFF
##BA3F8F1.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6291
Deuteranopia (green-blind)
#70778C
Tritanopia (blue-blind)
#C63E61
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba3f8f;
/* rgb */ color: rgb(186, 63, 143);
/* oklch */ color: oklch(56.6% 0.179 344.4);
Tailwind
colors: {
  custom: {
    50: '#d27db0',
    500: '#ba3f8f',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f8f;
$custom-light: #d27db0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f8f",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 143
  },
  "hsl": {
    "h": 320.976,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56624,
    "c": 0.17909,
    "h": 344.4
  },
  "luminance": 0.15977
}

Semantic roles & 50–950 ramp

primary
#BA3F8F
secondary
#8DC8A2
accent
#D97F4F
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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