#BA3397#BA3397

#BA3397 is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.8% C 0.199 H 340.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#BA3397
RGBrgb(186, 51, 151)
HSLhsl(316, 57%, 46%)
HSVhsv(316, 73%, 73%)
CMYKcmyk(0%, 72.6%, 18.8%, 27.1%)
CIE-LABlab(45.69, 62.84, -24.85)
CIE-LCHlch(45.69, 67.58, 338.42°)
OKLaboklab(55.82% 0.1875 -0.067)
OKLCHoklch(55.82% 0.199 340.3)
XYZxyz(27.0202, 15.0438, 30.7529)
Luminance0.1504 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3397 #33BA56
analogous
#9A33BA #BA3397 #BA3353
triadic
#BA3397 #97BA33 #3397BA
tetradic
#BA3397 #BA9A33 #33BA56 #3353BA
square
#BA3397 #BA9A33 #33BA56 #3353BA
split-complementary
#BA3397 #53BA33 #33BA9A
monochromatic
#5A1949 #8A2670 #BA3397 #D159B2 #DF89C8

Accessibility & contrast

On white

5.24
#BA3397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#BA3397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3397
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3397#FFFFFF#000000##FFFFFF
##BA33971.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5E9A
Deuteranopia (green-blind)
#687494
Tritanopia (blue-blind)
#C53761
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba3397;
/* rgb */ color: rgb(186, 51, 151);
/* oklch */ color: oklch(55.8% 0.199 340.3);
Tailwind
colors: {
  custom: {
    50: '#d377b6',
    500: '#ba3397',
    950: '#000000',
  },
}
SCSS
$custom: #ba3397;
$custom-light: #d377b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3397",
  "rgb": {
    "r": 186,
    "g": 51,
    "b": 151
  },
  "hsl": {
    "h": 315.556,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55819,
    "c": 0.19914,
    "h": 340.3
  },
  "luminance": 0.15041
}

Semantic roles & 50–950 ramp

primary
#BA3397
secondary
#80C993
accent
#E06F48
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3397

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

Preview Lab → · Contrast checker → · Palette generator →

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