#BA3D9D#BA3D9D

#BA3D9D is a mid, vivid pink. Relative luminance 0.162; OKLCH L 57.0% C 0.191 H 338.4°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#BA3D9D
RGBrgb(186, 61, 157)
HSLhsl(314, 51%, 48%)
HSVhsv(314, 67%, 73%)
CMYKcmyk(0%, 67.2%, 15.6%, 27.1%)
CIE-LABlab(47.25, 60.07, -26.02)
CIE-LCHlch(47.25, 65.46, 336.58°)
OKLaboklab(57.04% 0.1775 -0.0704)
OKLCHoklch(57.04% 0.191 338.4)
XYZxyz(28.0048, 16.2134, 33.5463)
Luminance0.1621 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3D9D #3DBA5A
analogous
#983DBA #BA3D9D #BA3D5E
triadic
#BA3D9D #9DBA3D #3D9DBA
tetradic
#BA3D9D #BA983D #3DBA5A #3D5EBA
square
#BA3D9D #BA983D #3DBA5A #3D5EBA
split-complementary
#BA3D9D #5EBA3D #3DBA98
monochromatic
#5E1F4F #8C2E76 #BA3D9D #CD67B5 #DC95CC

Accessibility & contrast

On white

4.95
#BA3D9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#BA3D9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3D9D
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3D9D#FFFFFF#000000##FFFFFF
##BA3D9D1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4264A0
Deuteranopia (green-blind)
#6A779A
Tritanopia (blue-blind)
#C44268
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba3d9d;
/* rgb */ color: rgb(186, 61, 157);
/* oklch */ color: oklch(57.0% 0.191 338.4);
Tailwind
colors: {
  custom: {
    50: '#d27cba',
    500: '#ba3d9d',
    950: '#000000',
  },
}
SCSS
$custom: #ba3d9d;
$custom-light: #d27cba;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3d9d",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 157
  },
  "hsl": {
    "h": 313.92,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5704,
    "c": 0.19096,
    "h": 338.4
  },
  "luminance": 0.16211
}

Semantic roles & 50–950 ramp

primary
#BA3D9D
secondary
#8BC899
accent
#DA6E4E
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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