#BA3395#BA3395

#BA3395 is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.7% C 0.198 H 341.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#BA3395
RGBrgb(186, 51, 149)
HSLhsl(316, 57%, 46%)
HSVhsv(316, 73%, 73%)
CMYKcmyk(0%, 72.6%, 19.9%, 27.1%)
CIE-LABlab(45.61, 62.57, -23.79)
CIE-LCHlch(45.61, 66.94, 339.18°)
OKLaboklab(55.73% 0.1872 -0.064)
OKLCHoklch(55.73% 0.198 341.1)
XYZxyz(26.8592, 14.9794, 29.9047)
Luminance0.1498 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3395 #33BA58
analogous
#9C33BA #BA3395 #BA3352
triadic
#BA3395 #95BA33 #3395BA
tetradic
#BA3395 #BA9C33 #33BA58 #3352BA
square
#BA3395 #BA9C33 #33BA58 #3352BA
split-complementary
#BA3395 #52BA33 #33BA9C
monochromatic
#5A1948 #8A266F #BA3395 #D159B0 #DF89C7

Accessibility & contrast

On white

5.26
#BA3395 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#BA3395 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3395
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3395#FFFFFF#000000##FFFFFF
##BA33951.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5E98
Deuteranopia (green-blind)
#697492
Tritanopia (blue-blind)
#C53660
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba3395;
/* rgb */ color: rgb(186, 51, 149);
/* oklch */ color: oklch(55.7% 0.198 341.1);
Tailwind
colors: {
  custom: {
    50: '#d377b4',
    500: '#ba3395',
    950: '#000000',
  },
}
SCSS
$custom: #ba3395;
$custom-light: #d377b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3395",
  "rgb": {
    "r": 186,
    "g": 51,
    "b": 149
  },
  "hsl": {
    "h": 316.444,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55727,
    "c": 0.19784,
    "h": 341.1
  },
  "luminance": 0.14977
}

Semantic roles & 50–950 ramp

primary
#BA3395
secondary
#80C994
accent
#E07148
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3395

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

Preview Lab → · Contrast checker → · Palette generator →

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