#BA3C98#BA3C98

#BA3C98 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.7% C 0.189 H 340.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#BA3C98
RGBrgb(186, 60, 152)
HSLhsl(316, 51%, 48%)
HSVhsv(316, 68%, 73%)
CMYKcmyk(0%, 67.7%, 18.3%, 27.1%)
CIE-LABlab(46.90, 59.73, -23.59)
CIE-LCHlch(46.90, 64.22, 338.45°)
OKLaboklab(56.71% 0.1778 -0.0635)
OKLCHoklch(56.71% 0.189 340.3)
XYZxyz(27.5338, 15.9404, 31.3264)
Luminance0.1594 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3C98 #3CBA5E
analogous
#9D3CBA #BA3C98 #BA3C59
triadic
#BA3C98 #98BA3C #3C98BA
tetradic
#BA3C98 #BA9D3C #3CBA5E #3C59BA
square
#BA3C98 #BA9D3C #3CBA5E #3C59BA
split-complementary
#BA3C98 #59BA3C #3CBA9D
monochromatic
#5D1E4C #8C2D72 #BA3C98 #CE66B2 #DC94C9

Accessibility & contrast

On white

5.01
#BA3C98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#BA3C98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3C98
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3C98#FFFFFF#000000##FFFFFF
##BA3C981.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44629B
Deuteranopia (green-blind)
#6B7695
Tritanopia (blue-blind)
#C53F65
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba3c98;
/* rgb */ color: rgb(186, 60, 152);
/* oklch */ color: oklch(56.7% 0.189 340.3);
Tailwind
colors: {
  custom: {
    50: '#d27bb6',
    500: '#ba3c98',
    950: '#000000',
  },
}
SCSS
$custom: #ba3c98;
$custom-light: #d27bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3c98",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 152
  },
  "hsl": {
    "h": 316.19,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56708,
    "c": 0.18885,
    "h": 340.3
  },
  "luminance": 0.15938
}

Semantic roles & 50–950 ramp

primary
#BA3C98
secondary
#8AC89B
accent
#DB734D
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3C98

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

Preview Lab → · Contrast checker → · Palette generator →

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