#BA3F7C#BA3F7C

#BA3F7C is a mid, vivid pink. Relative luminance 0.154; OKLCH L 55.9% C 0.169 H 353.3°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#BA3F7C
RGBrgb(186, 63, 124)
HSLhsl(330, 49%, 49%)
HSVhsv(330, 66%, 73%)
CMYKcmyk(0%, 66.1%, 33.3%, 27.1%)
CIE-LABlab(46.25, 54.87, -7.67)
CIE-LCHlch(46.25, 55.41, 352.04°)
OKLaboklab(55.88% 0.1676 -0.0196)
OKLCHoklch(55.88% 0.169 353.3)
XYZxyz(25.6667, 15.4522, 20.6958)
Luminance0.1545 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F7C #3FBA7D
analogous
#BA3FBA #BA3F7C #BA403F
triadic
#BA3F7C #7CBA3F #3F7CBA
tetradic
#BA3F7C #BABA3F #3FBA7D #403FBA
square
#BA3F7C #BABA3F #3FBA7D #403FBA
split-complementary
#BA3F7C #3FBA40 #3FBABA
monochromatic
#5F203F #8C305E #BA3F7C #CC6A9B #DC97B9

Accessibility & contrast

On white

5.13
#BA3F7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#BA3F7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3F7C
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3F7C#FFFFFF#000000##FFFFFF
##BA3F7C1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535F7E
Deuteranopia (green-blind)
#757679
Tritanopia (blue-blind)
#C83658
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba3f7c;
/* rgb */ color: rgb(186, 63, 124);
/* oklch */ color: oklch(55.9% 0.169 353.3);
Tailwind
colors: {
  custom: {
    50: '#d37ca1',
    500: '#ba3f7c',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f7c;
$custom-light: #d37ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f7c",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 124
  },
  "hsl": {
    "h": 330.244,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55879,
    "c": 0.16869,
    "h": 353.3
  },
  "luminance": 0.15449
}

Semantic roles & 50–950 ramp

primary
#BA3F7C
secondary
#8DC8AB
accent
#D9944F
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0F
muted
#837C7E

Preview Lab

Preview with #BA3F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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