#BA3C9B#BA3C9B

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

Color values

HEX#BA3C9B
RGBrgb(186, 60, 155)
HSLhsl(315, 51%, 48%)
HSVhsv(315, 68%, 73%)
CMYKcmyk(0%, 67.7%, 16.7%, 27.1%)
CIE-LABlab(47.03, 60.16, -25.18)
CIE-LCHlch(47.03, 65.22, 337.29°)
OKLaboklab(56.85% 0.1783 -0.068)
OKLCHoklch(56.85% 0.191 339.1)
XYZxyz(27.7826, 16.0399, 32.6368)
Luminance0.1604 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3C9B #3CBA5B
analogous
#9A3CBA #BA3C9B #BA3C5C
triadic
#BA3C9B #9BBA3C #3C9BBA
tetradic
#BA3C9B #BA9A3C #3CBA5B #3C5CBA
square
#BA3C9B #BA9A3C #3CBA5B #3C5CBA
split-complementary
#BA3C9B #5CBA3C #3CBA9A
monochromatic
#5D1E4E #8C2D74 #BA3C9B #CE66B4 #DC94CB

Accessibility & contrast

On white

4.99
#BA3C9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#BA3C9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3C9B
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3C9B#FFFFFF#000000##FFFFFF
##BA3C9B1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42639E
Deuteranopia (green-blind)
#6A7798
Tritanopia (blue-blind)
#C44066
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba3c9b;
/* rgb */ color: rgb(186, 60, 155);
/* oklch */ color: oklch(56.8% 0.191 339.1);
Tailwind
colors: {
  custom: {
    50: '#d27bb8',
    500: '#ba3c9b',
    950: '#000000',
  },
}
SCSS
$custom: #ba3c9b;
$custom-light: #d27bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3c9b",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 155
  },
  "hsl": {
    "h": 314.762,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56846,
    "c": 0.19087,
    "h": 339.1
  },
  "luminance": 0.16037
}

Semantic roles & 50–950 ramp

primary
#BA3C9B
secondary
#8AC899
accent
#DB704D
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3C9B

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

Preview Lab → · Contrast checker → · Palette generator →

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