#BA3895#BA3895

#BA3895 is a mid, vivid pink. Relative luminance 0.154; OKLCH L 56.2% C 0.192 H 341.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#BA3895
RGBrgb(186, 56, 149)
HSLhsl(317, 54%, 47%)
HSVhsv(317, 70%, 73%)
CMYKcmyk(0%, 69.9%, 19.9%, 27.1%)
CIE-LABlab(46.23, 60.81, -22.82)
CIE-LCHlch(46.23, 64.95, 339.43°)
OKLaboklab(56.18% 0.1819 -0.0613)
OKLCHoklch(56.18% 0.192 341.4)
XYZxyz(27.0895, 15.4400, 29.9815)
Luminance0.1544 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3895 #38BA5D
analogous
#9E38BA #BA3895 #BA3854
triadic
#BA3895 #95BA38 #3895BA
tetradic
#BA3895 #BA9E38 #38BA5D #3854BA
square
#BA3895 #BA9E38 #38BA5D #3854BA
split-complementary
#BA3895 #54BA38 #38BA9E
monochromatic
#5C1C4A #8B2A6F #BA3895 #CF60B0 #DD8FC7

Accessibility & contrast

On white

5.14
#BA3895 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#BA3895 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3895
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3895#FFFFFF#000000##FFFFFF
##BA38951.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426098
Deuteranopia (green-blind)
#6B7592
Tritanopia (blue-blind)
#C53A62
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3895;
/* rgb */ color: rgb(186, 56, 149);
/* oklch */ color: oklch(56.2% 0.192 341.4);
Tailwind
colors: {
  custom: {
    50: '#d279b4',
    500: '#ba3895',
    950: '#000000',
  },
}
SCSS
$custom: #ba3895;
$custom-light: #d279b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3895",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 149
  },
  "hsl": {
    "h": 317.077,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56181,
    "c": 0.19191,
    "h": 341.4
  },
  "luminance": 0.15437
}

Semantic roles & 50–950 ramp

primary
#BA3895
secondary
#86C899
accent
#DD744B
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3895

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

Preview Lab → · Contrast checker → · Palette generator →

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