#BA3995#BA3995

#BA3995 is a mid, vivid pink. Relative luminance 0.155; OKLCH L 56.3% C 0.191 H 341.4°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#BA3995
RGBrgb(186, 57, 149)
HSLhsl(317, 53%, 48%)
HSVhsv(317, 69%, 73%)
CMYKcmyk(0%, 69.4%, 19.9%, 27.1%)
CIE-LABlab(46.36, 60.44, -22.62)
CIE-LCHlch(46.36, 64.53, 339.48°)
OKLaboklab(56.28% 0.1807 -0.0608)
OKLCHoklch(56.28% 0.191 341.4)
XYZxyz(27.1384, 15.5379, 29.9978)
Luminance0.1553 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3995 #39BA5E
analogous
#9E39BA #BA3995 #BA3955
triadic
#BA3995 #95BA39 #3995BA
tetradic
#BA3995 #BA9E39 #39BA5E #3955BA
square
#BA3995 #BA9E39 #39BA5E #3955BA
split-complementary
#BA3995 #55BA39 #39BA9E
monochromatic
#5C1C4A #8B2B6F #BA3995 #CF61AF #DD90C7

Accessibility & contrast

On white

5.11
#BA3995 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#BA3995 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3995
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3995#FFFFFF#000000##FFFFFF
##BA39951.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436098
Deuteranopia (green-blind)
#6B7592
Tritanopia (blue-blind)
#C53B62
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba3995;
/* rgb */ color: rgb(186, 57, 149);
/* oklch */ color: oklch(56.3% 0.191 341.4);
Tailwind
colors: {
  custom: {
    50: '#d27ab4',
    500: '#ba3995',
    950: '#000000',
  },
}
SCSS
$custom: #ba3995;
$custom-light: #d27ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3995",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 149
  },
  "hsl": {
    "h": 317.209,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56277,
    "c": 0.19068,
    "h": 341.4
  },
  "luminance": 0.15535
}

Semantic roles & 50–950 ramp

primary
#BA3995
secondary
#87C89A
accent
#DC754B
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3995

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

Preview Lab → · Contrast checker → · Palette generator →

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