#BA3D7D#BA3D7D

#BA3D7D is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.7% C 0.172 H 352.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#BA3D7D
RGBrgb(186, 61, 125)
HSLhsl(329, 51%, 48%)
HSVhsv(329, 67%, 73%)
CMYKcmyk(0%, 67.2%, 32.8%, 27.1%)
CIE-LABlab(45.99, 55.80, -8.67)
CIE-LCHlch(45.99, 56.47, 351.17°)
OKLaboklab(55.7% 0.1704 -0.0223)
OKLCHoklch(55.7% 0.172 352.5)
XYZxyz(25.6215, 15.2601, 20.9943)
Luminance0.1526 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3D7D #3DBA7A
analogous
#B83DBA #BA3D7D #BA3D3E
triadic
#BA3D7D #7DBA3D #3D7DBA
tetradic
#BA3D7D #BAB83D #3DBA7A #3D3EBA
square
#BA3D7D #BAB83D #3DBA7A #3D3EBA
split-complementary
#BA3D7D #3EBA3D #3DBAB8
monochromatic
#5E1F3F #8C2E5E #BA3D7D #CD679B #DC95BA

Accessibility & contrast

On white

5.18
#BA3D7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#BA3D7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3D7D
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3D7D#FFFFFF#000000##FFFFFF
##BA3D7D1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515F7F
Deuteranopia (green-blind)
#74757A
Tritanopia (blue-blind)
#C83558
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3d7d;
/* rgb */ color: rgb(186, 61, 125);
/* oklch */ color: oklch(55.7% 0.172 352.5);
Tailwind
colors: {
  custom: {
    50: '#d37ba2',
    500: '#ba3d7d',
    950: '#000000',
  },
}
SCSS
$custom: #ba3d7d;
$custom-light: #d37ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3d7d",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 125
  },
  "hsl": {
    "h": 329.28,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55699,
    "c": 0.17182,
    "h": 352.5
  },
  "luminance": 0.15257
}

Semantic roles & 50–950 ramp

primary
#BA3D7D
secondary
#8BC8A9
accent
#DA924E
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0F
muted
#837C7E

Preview Lab

Preview with #BA3D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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