#BA3F7D#BA3F7D

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

Color values

HEX#BA3F7D
RGBrgb(186, 63, 125)
HSLhsl(330, 49%, 49%)
HSVhsv(330, 66%, 73%)
CMYKcmyk(0%, 66.1%, 32.8%, 27.1%)
CIE-LABlab(46.28, 54.99, -8.23)
CIE-LCHlch(46.28, 55.61, 351.49°)
OKLaboklab(55.92% 0.1678 -0.0211)
OKLCHoklch(55.92% 0.169 352.8)
XYZxyz(25.7302, 15.4776, 21.0305)
Luminance0.1547 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F7D #3FBA7C
analogous
#BA3FBA #BA3F7D #BA3F40
triadic
#BA3F7D #7DBA3F #3F7DBA
tetradic
#BA3F7D #BABA3F #3FBA7C #3F40BA
square
#BA3F7D #BABA3F #3FBA7C #3F40BA
split-complementary
#BA3F7D #40BA3F #3FBABA
monochromatic
#5F2040 #8C305E #BA3F7D #CC6A9C #DC97BA

Accessibility & contrast

On white

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

On black

4.10
#BA3F7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA3F7D#FFFFFF#000000##FFFFFF
##BA3F7D1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525F7F
Deuteranopia (green-blind)
#75767A
Tritanopia (blue-blind)
#C83759
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba3f7d;
/* rgb */ color: rgb(186, 63, 125);
/* oklch */ color: oklch(55.9% 0.169 352.8);
Tailwind
colors: {
  custom: {
    50: '#d37ca2',
    500: '#ba3f7d',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f7d;
$custom-light: #d37ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f7d",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 125
  },
  "hsl": {
    "h": 329.756,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55915,
    "c": 0.16916,
    "h": 352.8
  },
  "luminance": 0.15475
}

Semantic roles & 50–950 ramp

primary
#BA3F7D
secondary
#8DC8AA
accent
#D9934F
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0F
muted
#837C7E

Preview Lab

Preview with #BA3F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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