#BA3495#BA3495

#BA3495 is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.8% C 0.197 H 341.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#BA3495
RGBrgb(186, 52, 149)
HSLhsl(317, 56%, 47%)
HSVhsv(317, 72%, 73%)
CMYKcmyk(0%, 72%, 19.9%, 27.1%)
CIE-LABlab(45.73, 62.23, -23.60)
CIE-LCHlch(45.73, 66.55, 339.23°)
OKLaboklab(55.81% 0.1862 -0.0635)
OKLCHoklch(55.81% 0.197 341.2)
XYZxyz(26.9033, 15.0677, 29.9194)
Luminance0.1507 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3495 #34BA59
analogous
#9C34BA #BA3495 #BA3452
triadic
#BA3495 #95BA34 #3495BA
tetradic
#BA3495 #BA9C34 #34BA59 #3452BA
square
#BA3495 #BA9C34 #34BA59 #3452BA
split-complementary
#BA3495 #52BA34 #34BA9C
monochromatic
#5A1948 #8A276F #BA3495 #D15AB0 #DE8AC7

Accessibility & contrast

On white

5.23
#BA3495 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA3495
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3495#FFFFFF#000000##FFFFFF
##BA34951.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba3495;
/* rgb */ color: rgb(186, 52, 149);
/* oklch */ color: oklch(55.8% 0.197 341.2);
Tailwind
colors: {
  custom: {
    50: '#d378b4',
    500: '#ba3495',
    950: '#000000',
  },
}
SCSS
$custom: #ba3495;
$custom-light: #d378b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3495",
  "rgb": {
    "r": 186,
    "g": 52,
    "b": 149
  },
  "hsl": {
    "h": 316.567,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55814,
    "c": 0.1967,
    "h": 341.2
  },
  "luminance": 0.15065
}

Semantic roles & 50–950 ramp

primary
#BA3495
secondary
#81C895
accent
#E07248
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3495

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

Preview Lab → · Contrast checker → · Palette generator →

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