#BA3A7D#BA3A7D

#BA3A7D is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.4% C 0.176 H 352.2°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#BA3A7D
RGBrgb(186, 58, 125)
HSLhsl(329, 52%, 48%)
HSVhsv(329, 69%, 73%)
CMYKcmyk(0%, 68.8%, 32.8%, 27.1%)
CIE-LABlab(45.56, 56.98, -9.30)
CIE-LCHlch(45.56, 57.73, 350.73°)
OKLaboklab(55.39% 0.1741 -0.024)
OKLCHoklch(55.39% 0.176 352.2)
XYZxyz(25.4658, 14.9487, 20.9424)
Luminance0.1495 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3A7D #3ABA77
analogous
#B73ABA #BA3A7D #BA3A3D
triadic
#BA3A7D #7DBA3A #3A7DBA
tetradic
#BA3A7D #BAB73A #3ABA77 #3A3DBA
square
#BA3A7D #BAB73A #3ABA77 #3A3DBA
split-complementary
#BA3A7D #3DBA3A #3ABAB7
monochromatic
#5D1D3E #8B2B5E #BA3A7D #CE639B #DD92B9

Accessibility & contrast

On white

5.26
#BA3A7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#BA3A7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3A7D
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3A7D#FFFFFF#000000##FFFFFF
##BA3A7D1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5D7F
Deuteranopia (green-blind)
#73747A
Tritanopia (blue-blind)
#C83156
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba3a7d;
/* rgb */ color: rgb(186, 58, 125);
/* oklch */ color: oklch(55.4% 0.176 352.2);
Tailwind
colors: {
  custom: {
    50: '#d37aa2',
    500: '#ba3a7d',
    950: '#000000',
  },
}
SCSS
$custom: #ba3a7d;
$custom-light: #d37aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3a7d",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 125
  },
  "hsl": {
    "h": 328.594,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55387,
    "c": 0.17569,
    "h": 352.2
  },
  "luminance": 0.14946
}

Semantic roles & 50–950 ramp

primary
#BA3A7D
secondary
#88C8A6
accent
#DC914C
background
#FDF7FA
surface
#FBEEF3
border
#D4C9CD
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA3A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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