#BA3297#BA3297

#BA3297 is a mid, highly saturated pink. Relative luminance 0.150; OKLCH L 55.7% C 0.200 H 340.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#BA3297
RGBrgb(186, 50, 151)
HSLhsl(315, 58%, 46%)
HSVhsv(315, 73%, 73%)
CMYKcmyk(0%, 73.1%, 18.8%, 27.1%)
CIE-LABlab(45.58, 63.18, -25.04)
CIE-LCHlch(45.58, 67.96, 338.38°)
OKLaboklab(55.73% 0.1885 -0.0675)
OKLCHoklch(55.73% 0.2 340.3)
XYZxyz(26.9770, 14.9573, 30.7385)
Luminance0.1495 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3297 #32BA55
analogous
#9932BA #BA3297 #BA3253
triadic
#BA3297 #97BA32 #3297BA
tetradic
#BA3297 #BA9932 #32BA55 #3253BA
square
#BA3297 #BA9932 #32BA55 #3253BA
split-complementary
#BA3297 #53BA32 #32BA99
monochromatic
#5A1849 #8A2570 #BA3297 #D257B2 #DF88C8

Accessibility & contrast

On white

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

On black

3.99
#BA3297 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA3297#FFFFFF#000000##FFFFFF
##BA32971.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba3297;
/* rgb */ color: rgb(186, 50, 151);
/* oklch */ color: oklch(55.7% 0.200 340.3);
Tailwind
colors: {
  custom: {
    50: '#d377b6',
    500: '#ba3297',
    950: '#000000',
  },
}
SCSS
$custom: #ba3297;
$custom-light: #d377b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3297",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 151
  },
  "hsl": {
    "h": 315.441,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55734,
    "c": 0.20026,
    "h": 340.3
  },
  "luminance": 0.14955
}

Semantic roles & 50–950 ramp

primary
#BA3297
secondary
#7FC992
accent
#E16F47
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3297

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

Preview Lab → · Contrast checker → · Palette generator →

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