#BA3D8F#BA3D8F

#BA3D8F is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.4% C 0.182 H 344.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#BA3D8F
RGBrgb(186, 61, 143)
HSLhsl(321, 51%, 48%)
HSVhsv(321, 67%, 73%)
CMYKcmyk(0%, 67.2%, 23.1%, 27.1%)
CIE-LABlab(46.66, 58.09, -18.55)
CIE-LCHlch(46.66, 60.98, 342.29°)
OKLaboklab(56.41% 0.1749 -0.0494)
OKLCHoklch(56.41% 0.182 344.2)
XYZxyz(26.8773, 15.7624, 27.6082)
Luminance0.1576 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3D8F #3DBA68
analogous
#A63DBA #BA3D8F #BA3D50
triadic
#BA3D8F #8FBA3D #3D8FBA
tetradic
#BA3D8F #BAA63D #3DBA68 #3D50BA
square
#BA3D8F #BAA63D #3DBA68 #3D50BA
split-complementary
#BA3D8F #50BA3D #3DBAA6
monochromatic
#5E1F48 #8C2E6C #BA3D8F #CD67AA #DC95C4

Accessibility & contrast

On white

5.06
#BA3D8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#BA3D8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3D8F
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3D8F#FFFFFF#000000##FFFFFF
##BA3D8F1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6191
Deuteranopia (green-blind)
#6F768C
Tritanopia (blue-blind)
#C63C60
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba3d8f;
/* rgb */ color: rgb(186, 61, 143);
/* oklch */ color: oklch(56.4% 0.182 344.2);
Tailwind
colors: {
  custom: {
    50: '#d27cb0',
    500: '#ba3d8f',
    950: '#000000',
  },
}
SCSS
$custom: #ba3d8f;
$custom-light: #d27cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3d8f",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 143
  },
  "hsl": {
    "h": 320.64,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56414,
    "c": 0.18175,
    "h": 344.2
  },
  "luminance": 0.1576
}

Semantic roles & 50–950 ramp

primary
#BA3D8F
secondary
#8BC8A0
accent
#DA7E4E
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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