#BA3D99#BA3D99

#BA3D99 is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.9% C 0.188 H 340.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#BA3D99
RGBrgb(186, 61, 153)
HSLhsl(316, 51%, 48%)
HSVhsv(316, 67%, 73%)
CMYKcmyk(0%, 67.2%, 17.7%, 27.1%)
CIE-LABlab(47.08, 59.49, -23.91)
CIE-LCHlch(47.08, 64.11, 338.11°)
OKLaboklab(56.86% 0.1768 -0.0644)
OKLCHoklch(56.86% 0.188 340)
XYZxyz(27.6689, 16.0791, 31.7772)
Luminance0.1608 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3D99 #3DBA5E
analogous
#9C3DBA #BA3D99 #BA3D5A
triadic
#BA3D99 #99BA3D #3D99BA
tetradic
#BA3D99 #BA9C3D #3DBA5E #3D5ABA
square
#BA3D99 #BA9C3D #3DBA5E #3D5ABA
split-complementary
#BA3D99 #5ABA3D #3DBA9C
monochromatic
#5E1F4D #8C2E73 #BA3D99 #CD67B2 #DC95C9

Accessibility & contrast

On white

4.98
#BA3D99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#BA3D99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3D99
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3D99#FFFFFF#000000##FFFFFF
##BA3D991.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44639C
Deuteranopia (green-blind)
#6B7796
Tritanopia (blue-blind)
#C54065
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba3d99;
/* rgb */ color: rgb(186, 61, 153);
/* oklch */ color: oklch(56.9% 0.188 340.0);
Tailwind
colors: {
  custom: {
    50: '#d27cb7',
    500: '#ba3d99',
    950: '#000000',
  },
}
SCSS
$custom: #ba3d99;
$custom-light: #d27cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3d99",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 153
  },
  "hsl": {
    "h": 315.84,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56855,
    "c": 0.18821,
    "h": 340
  },
  "luminance": 0.16076
}

Semantic roles & 50–950 ramp

primary
#BA3D99
secondary
#8BC89B
accent
#DA734E
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3D99

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

Preview Lab → · Contrast checker → · Palette generator →

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