#BA3B93#BA3B93

#BA3B93 is a mid, vivid pink. Relative luminance 0.157; OKLCH L 56.4% C 0.187 H 342.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#BA3B93
RGBrgb(186, 59, 147)
HSLhsl(318, 52%, 48%)
HSVhsv(318, 68%, 73%)
CMYKcmyk(0%, 68.3%, 21%, 27.1%)
CIE-LABlab(46.55, 59.41, -21.13)
CIE-LCHlch(46.55, 63.06, 340.42°)
OKLaboklab(56.38% 0.1781 -0.0566)
OKLCHoklch(56.38% 0.187 342.4)
XYZxyz(27.0810, 15.6763, 29.1977)
Luminance0.1567 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3B93 #3BBA62
analogous
#A13BBA #BA3B93 #BA3B53
triadic
#BA3B93 #93BA3B #3B93BA
tetradic
#BA3B93 #BAA13B #3BBA62 #3B53BA
square
#BA3B93 #BAA13B #3BBA62 #3B53BA
split-complementary
#BA3B93 #53BA3B #3BBAA1
monochromatic
#5D1E4A #8C2C6E #BA3B93 #CE64AD #DD93C6

Accessibility & contrast

On white

5.08
#BA3B93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA3B93
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3B93#FFFFFF#000000##FFFFFF
##BA3B931.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466196
Deuteranopia (green-blind)
#6D7690
Tritanopia (blue-blind)
#C53C62
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba3b93;
/* rgb */ color: rgb(186, 59, 147);
/* oklch */ color: oklch(56.4% 0.187 342.4);
Tailwind
colors: {
  custom: {
    50: '#d27bb3',
    500: '#ba3b93',
    950: '#000000',
  },
}
SCSS
$custom: #ba3b93;
$custom-light: #d27bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3b93",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 147
  },
  "hsl": {
    "h": 318.425,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56384,
    "c": 0.18686,
    "h": 342.4
  },
  "luminance": 0.15674
}

Semantic roles & 50–950 ramp

primary
#BA3B93
secondary
#89C89C
accent
#DB784D
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3B93

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

Preview Lab → · Contrast checker → · Palette generator →

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