#BA3990#BA3990

#BA3990 is a mid, vivid pink. Relative luminance 0.154; OKLCH L 56.1% C 0.188 H 343.5°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#BA3990
RGBrgb(186, 57, 144)
HSLhsl(320, 53%, 48%)
HSVhsv(320, 69%, 73%)
CMYKcmyk(0%, 69.4%, 22.6%, 27.1%)
CIE-LABlab(46.15, 59.76, -19.93)
CIE-LCHlch(46.15, 62.99, 341.55°)
OKLaboklab(56.06% 0.1798 -0.0532)
OKLCHoklch(56.06% 0.188 343.5)
XYZxyz(26.7478, 15.3817, 27.9404)
Luminance0.1538 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3990 #39BA63
analogous
#A339BA #BA3990 #BA394F
triadic
#BA3990 #90BA39 #3990BA
tetradic
#BA3990 #BAA339 #39BA63 #394FBA
square
#BA3990 #BAA339 #39BA63 #394FBA
split-complementary
#BA3990 #4FBA39 #39BAA3
monochromatic
#5C1C47 #8B2B6C #BA3990 #CF61AB #DD90C4

Accessibility & contrast

On white

5.15
#BA3990 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#BA3990 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3990
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3990#FFFFFF#000000##FFFFFF
##BA39901.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466092
Deuteranopia (green-blind)
#6D758D
Tritanopia (blue-blind)
#C6395F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3990;
/* rgb */ color: rgb(186, 57, 144);
/* oklch */ color: oklch(56.1% 0.188 343.5);
Tailwind
colors: {
  custom: {
    50: '#d37ab0',
    500: '#ba3990',
    950: '#000000',
  },
}
SCSS
$custom: #ba3990;
$custom-light: #d37ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3990",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 144
  },
  "hsl": {
    "h": 319.535,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56055,
    "c": 0.18751,
    "h": 343.5
  },
  "luminance": 0.15379
}

Semantic roles & 50–950 ramp

primary
#BA3990
secondary
#87C89C
accent
#DC7B4B
background
#FDF7FA
surface
#FAEEF5
border
#D3C9CF
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3990

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

Preview Lab → · Contrast checker → · Palette generator →

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