#BA3296#BA3296

#BA3296 is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.7% C 0.200 H 340.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#BA3296
RGBrgb(186, 50, 150)
HSLhsl(316, 58%, 46%)
HSVhsv(316, 73%, 73%)
CMYKcmyk(0%, 73.1%, 19.4%, 27.1%)
CIE-LABlab(45.53, 63.04, -24.50)
CIE-LCHlch(45.53, 67.64, 338.76°)
OKLaboklab(55.69% 0.1884 -0.066)
OKLCHoklch(55.69% 0.2 340.7)
XYZxyz(26.8961, 14.9250, 30.3126)
Luminance0.1492 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3296 #32BA56
analogous
#9A32BA #BA3296 #BA3252
triadic
#BA3296 #96BA32 #3296BA
tetradic
#BA3296 #BA9A32 #32BA56 #3252BA
square
#BA3296 #BA9A32 #32BA56 #3252BA
split-complementary
#BA3296 #52BA32 #32BA9A
monochromatic
#5A1848 #8A256F #BA3296 #D257B1 #DF88C8

Accessibility & contrast

On white

5.27
#BA3296 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#BA3296 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3296
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3296#FFFFFF#000000##FFFFFF
##BA32961.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5E99
Deuteranopia (green-blind)
#687493
Tritanopia (blue-blind)
#C53560
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba3296;
/* rgb */ color: rgb(186, 50, 150);
/* oklch */ color: oklch(55.7% 0.200 340.7);
Tailwind
colors: {
  custom: {
    50: '#d377b5',
    500: '#ba3296',
    950: '#000000',
  },
}
SCSS
$custom: #ba3296;
$custom-light: #d377b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3296",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 315.882,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55687,
    "c": 0.19962,
    "h": 340.7
  },
  "luminance": 0.14922
}

Semantic roles & 50–950 ramp

primary
#BA3296
secondary
#7FC993
accent
#E17047
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3296

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

Preview Lab → · Contrast checker → · Palette generator →

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