#BA3497#BA3497

#BA3497 is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.9% C 0.198 H 340.4°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#BA3497
RGBrgb(186, 52, 151)
HSLhsl(316, 56%, 47%)
HSVhsv(316, 72%, 73%)
CMYKcmyk(0%, 72%, 18.8%, 27.1%)
CIE-LABlab(45.81, 62.50, -24.67)
CIE-LCHlch(45.81, 67.19, 338.46°)
OKLaboklab(55.91% 0.1865 -0.0665)
OKLCHoklch(55.91% 0.198 340.4)
XYZxyz(27.0644, 15.1321, 30.7676)
Luminance0.1513 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3497 #34BA57
analogous
#9A34BA #BA3497 #BA3454
triadic
#BA3497 #97BA34 #3497BA
tetradic
#BA3497 #BA9A34 #34BA57 #3454BA
square
#BA3497 #BA9A34 #34BA57 #3454BA
split-complementary
#BA3497 #54BA34 #34BA9A
monochromatic
#5A1949 #8A2770 #BA3497 #D15AB2 #DE8AC8

Accessibility & contrast

On white

5.22
#BA3497 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#BA3497 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3497
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3497#FFFFFF#000000##FFFFFF
##BA34971.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba3497;
/* rgb */ color: rgb(186, 52, 151);
/* oklch */ color: oklch(55.9% 0.198 340.4);
Tailwind
colors: {
  custom: {
    50: '#d378b6',
    500: '#ba3497',
    950: '#000000',
  },
}
SCSS
$custom: #ba3497;
$custom-light: #d378b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3497",
  "rgb": {
    "r": 186,
    "g": 52,
    "b": 151
  },
  "hsl": {
    "h": 315.672,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55907,
    "c": 0.19798,
    "h": 340.4
  },
  "luminance": 0.15129
}

Semantic roles & 50–950 ramp

primary
#BA3497
secondary
#81C894
accent
#E07048
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3497

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

Preview Lab → · Contrast checker → · Palette generator →

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