#BA3598#BA3598

#BA3598 is a mid, vivid pink. Relative luminance 0.153; OKLCH L 56.0% C 0.197 H 340.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#BA3598
RGBrgb(186, 53, 152)
HSLhsl(315, 56%, 47%)
HSVhsv(315, 72%, 73%)
CMYKcmyk(0%, 71.5%, 18.3%, 27.1%)
CIE-LABlab(45.98, 62.30, -25.01)
CIE-LCHlch(45.98, 67.13, 338.13°)
OKLaboklab(56.04% 0.1856 -0.0675)
OKLCHoklch(56.04% 0.197 340)
XYZxyz(27.1910, 15.2549, 31.2122)
Luminance0.1525 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3598 #35BA57
analogous
#9A35BA #BA3598 #BA3556
triadic
#BA3598 #98BA35 #3598BA
tetradic
#BA3598 #BA9A35 #35BA57 #3556BA
square
#BA3598 #BA9A35 #35BA57 #3556BA
split-complementary
#BA3598 #56BA35 #35BA9A
monochromatic
#5B1A4A #8A2771 #BA3598 #D05CB3 #DE8BC9

Accessibility & contrast

On white

5.18
#BA3598 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#BA3598 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3598
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3598#FFFFFF#000000##FFFFFF
##BA35981.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5F9B
Deuteranopia (green-blind)
#687595
Tritanopia (blue-blind)
#C53962
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3598;
/* rgb */ color: rgb(186, 53, 152);
/* oklch */ color: oklch(56.0% 0.197 340.0);
Tailwind
colors: {
  custom: {
    50: '#d378b6',
    500: '#ba3598',
    950: '#000000',
  },
}
SCSS
$custom: #ba3598;
$custom-light: #d378b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3598",
  "rgb": {
    "r": 186,
    "g": 53,
    "b": 152
  },
  "hsl": {
    "h": 315.338,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56042,
    "c": 0.19748,
    "h": 340
  },
  "luminance": 0.15252
}

Semantic roles & 50–950 ramp

primary
#BA3598
secondary
#82C894
accent
#DF6F49
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3598

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

Preview Lab → · Contrast checker → · Palette generator →

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