#BA3795#BA3795

#BA3795 is a mid, vivid pink. Relative luminance 0.153; OKLCH L 56.1% C 0.193 H 341.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#BA3795
RGBrgb(186, 55, 149)
HSLhsl(317, 54%, 47%)
HSVhsv(317, 70%, 73%)
CMYKcmyk(0%, 70.4%, 19.9%, 27.1%)
CIE-LABlab(46.10, 61.17, -23.02)
CIE-LCHlch(46.10, 65.36, 339.38°)
OKLaboklab(56.09% 0.183 -0.0619)
OKLCHoklch(56.09% 0.193 341.3)
XYZxyz(27.0415, 15.3441, 29.9655)
Luminance0.1534 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3795 #37BA5C
analogous
#9E37BA #BA3795 #BA3753
triadic
#BA3795 #95BA37 #3795BA
tetradic
#BA3795 #BA9E37 #37BA5C #3753BA
square
#BA3795 #BA9E37 #37BA5C #3753BA
split-complementary
#BA3795 #53BA37 #37BA9E
monochromatic
#5C1B49 #8B296F #BA3795 #D05FB0 #DE8EC7

Accessibility & contrast

On white

5.16
#BA3795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#BA3795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3795
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3795#FFFFFF#000000##FFFFFF
##BA37951.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416098
Deuteranopia (green-blind)
#6A7592
Tritanopia (blue-blind)
#C53961
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3795;
/* rgb */ color: rgb(186, 55, 149);
/* oklch */ color: oklch(56.1% 0.193 341.3);
Tailwind
colors: {
  custom: {
    50: '#d379b4',
    500: '#ba3795',
    950: '#000000',
  },
}
SCSS
$custom: #ba3795;
$custom-light: #d379b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3795",
  "rgb": {
    "r": 186,
    "g": 55,
    "b": 149
  },
  "hsl": {
    "h": 316.947,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56087,
    "c": 0.19314,
    "h": 341.3
  },
  "luminance": 0.15341
}

Semantic roles & 50–950 ramp

primary
#BA3795
secondary
#85C898
accent
#DE744A
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3795

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

Preview Lab → · Contrast checker → · Palette generator →

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