#BA3D8B#BA3D8B

#BA3D8B is a mid, vivid pink. Relative luminance 0.156; OKLCH L 56.2% C 0.179 H 346.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#BA3D8B
RGBrgb(186, 61, 139)
HSLhsl(323, 51%, 48%)
HSVhsv(323, 67%, 73%)
CMYKcmyk(0%, 67.2%, 25.3%, 27.1%)
CIE-LABlab(46.50, 57.56, -16.38)
CIE-LCHlch(46.50, 59.84, 344.11°)
OKLaboklab(56.25% 0.174 -0.0434)
OKLCHoklch(56.25% 0.179 346)
XYZxyz(26.5797, 15.6434, 26.0408)
Luminance0.1564 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3D8B #3DBA6C
analogous
#AA3DBA #BA3D8B #BA3D4C
triadic
#BA3D8B #8BBA3D #3D8BBA
tetradic
#BA3D8B #BAAA3D #3DBA6C #3D4CBA
square
#BA3D8B #BAAA3D #3DBA6C #3D4CBA
split-complementary
#BA3D8B #4CBA3D #3DBAAA
monochromatic
#5E1F46 #8C2E69 #BA3D8B #CD67A7 #DC95C2

Accessibility & contrast

On white

5.09
#BA3D8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#BA3D8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3D8B
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3D8B#FFFFFF#000000##FFFFFF
##BA3D8B1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B618D
Deuteranopia (green-blind)
#707688
Tritanopia (blue-blind)
#C63B5E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba3d8b;
/* rgb */ color: rgb(186, 61, 139);
/* oklch */ color: oklch(56.2% 0.179 346.0);
Tailwind
colors: {
  custom: {
    50: '#d27bad',
    500: '#ba3d8b',
    950: '#000000',
  },
}
SCSS
$custom: #ba3d8b;
$custom-light: #d27bad;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3d8b",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 139
  },
  "hsl": {
    "h": 322.56,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56246,
    "c": 0.17934,
    "h": 346
  },
  "luminance": 0.15641
}

Semantic roles & 50–950 ramp

primary
#BA3D8B
secondary
#8BC8A2
accent
#DA824E
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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