#BA3698#BA3698

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

Color values

HEX#BA3698
RGBrgb(186, 54, 152)
HSLhsl(315, 55%, 47%)
HSVhsv(315, 71%, 73%)
CMYKcmyk(0%, 71%, 18.3%, 27.1%)
CIE-LABlab(46.11, 61.95, -24.81)
CIE-LCHlch(46.11, 66.73, 338.17°)
OKLaboklab(56.13% 0.1845 -0.0669)
OKLCHoklch(56.13% 0.196 340.1)
XYZxyz(27.2371, 15.3471, 31.2275)
Luminance0.1534 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3698 #36BA58
analogous
#9A36BA #BA3698 #BA3656
triadic
#BA3698 #98BA36 #3698BA
tetradic
#BA3698 #BA9A36 #36BA58 #3656BA
square
#BA3698 #BA9A36 #36BA58 #3656BA
split-complementary
#BA3698 #56BA36 #36BA9A
monochromatic
#5B1A4A #8B2871 #BA3698 #D05DB2 #DE8DC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3698#FFFFFF#000000##FFFFFF
##BA36981.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)
#3F609B
Deuteranopia (green-blind)
#697595
Tritanopia (blue-blind)
#C53A62
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3698;
/* rgb */ color: rgb(186, 54, 152);
/* oklch */ color: oklch(56.1% 0.196 340.1);
Tailwind
colors: {
  custom: {
    50: '#d379b6',
    500: '#ba3698',
    950: '#000000',
  },
}
SCSS
$custom: #ba3698;
$custom-light: #d379b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3698",
  "rgb": {
    "r": 186,
    "g": 54,
    "b": 152
  },
  "hsl": {
    "h": 315.455,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56133,
    "c": 0.1963,
    "h": 340.1
  },
  "luminance": 0.15344
}

Semantic roles & 50–950 ramp

primary
#BA3698
secondary
#84C895
accent
#DE7049
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3698

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

Preview Lab → · Contrast checker → · Palette generator →

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