#BA3B7D#BA3B7D

#BA3B7D is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.5% C 0.174 H 352.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#BA3B7D
RGBrgb(186, 59, 125)
HSLhsl(329, 52%, 48%)
HSVhsv(329, 68%, 73%)
CMYKcmyk(0%, 68.3%, 32.8%, 27.1%)
CIE-LABlab(45.70, 56.59, -9.09)
CIE-LCHlch(45.70, 57.31, 350.87°)
OKLaboklab(55.49% 0.1728 -0.0234)
OKLCHoklch(55.49% 0.174 352.3)
XYZxyz(25.5167, 15.0506, 20.9593)
Luminance0.1505 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3B7D #3BBA78
analogous
#B73BBA #BA3B7D #BA3B3D
triadic
#BA3B7D #7DBA3B #3B7DBA
tetradic
#BA3B7D #BAB73B #3BBA78 #3B3DBA
square
#BA3B7D #BAB73B #3BBA78 #3B3DBA
split-complementary
#BA3B7D #3DBA3B #3BBAB7
monochromatic
#5D1E3F #8C2C5E #BA3B7D #CE649B #DD93B9

Accessibility & contrast

On white

5.24
#BA3B7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#BA3B7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3B7D
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3B7D#FFFFFF#000000##FFFFFF
##BA3B7D1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5E7F
Deuteranopia (green-blind)
#73757A
Tritanopia (blue-blind)
#C83257
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba3b7d;
/* rgb */ color: rgb(186, 59, 125);
/* oklch */ color: oklch(55.5% 0.174 352.3);
Tailwind
colors: {
  custom: {
    50: '#d37aa2',
    500: '#ba3b7d',
    950: '#000000',
  },
}
SCSS
$custom: #ba3b7d;
$custom-light: #d37aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3b7d",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 125
  },
  "hsl": {
    "h": 328.819,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55489,
    "c": 0.17441,
    "h": 352.3
  },
  "luminance": 0.15048
}

Semantic roles & 50–950 ramp

primary
#BA3B7D
secondary
#89C8A7
accent
#DB914D
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0F
muted
#837C7E

Preview Lab

Preview with #BA3B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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