#BA3B9D#BA3B9D

#BA3B9D is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.8% C 0.194 H 338.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#BA3B9D
RGBrgb(186, 59, 157)
HSLhsl(314, 52%, 48%)
HSVhsv(314, 68%, 73%)
CMYKcmyk(0%, 68.3%, 15.6%, 27.1%)
CIE-LABlab(46.98, 60.83, -26.45)
CIE-LCHlch(46.98, 66.33, 336.50°)
OKLaboklab(56.84% 0.1798 -0.0716)
OKLCHoklch(56.84% 0.194 338.3)
XYZxyz(27.9000, 16.0039, 33.5114)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3B9D #3BBA58
analogous
#973BBA #BA3B9D #BA3B5D
triadic
#BA3B9D #9DBA3B #3B9DBA
tetradic
#BA3B9D #BA973B #3BBA58 #3B5DBA
square
#BA3B9D #BA973B #3BBA58 #3B5DBA
split-complementary
#BA3B9D #5DBA3B #3BBA97
monochromatic
#5D1E4F #8C2C76 #BA3B9D #CE64B6 #DD93CC

Accessibility & contrast

On white

5.00
#BA3B9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#BA3B9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3B9D
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3B9D#FFFFFF#000000##FFFFFF
##BA3B9D1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4063A0
Deuteranopia (green-blind)
#69779A
Tritanopia (blue-blind)
#C44067
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba3b9d;
/* rgb */ color: rgb(186, 59, 157);
/* oklch */ color: oklch(56.8% 0.194 338.3);
Tailwind
colors: {
  custom: {
    50: '#d27bba',
    500: '#ba3b9d',
    950: '#000000',
  },
}
SCSS
$custom: #ba3b9d;
$custom-light: #d27bba;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3b9d",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 157
  },
  "hsl": {
    "h": 313.701,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5684,
    "c": 0.19353,
    "h": 338.3
  },
  "luminance": 0.16001
}

Semantic roles & 50–950 ramp

primary
#BA3B9D
secondary
#89C897
accent
#DB6D4D
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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