#BA398A#BA398A

#BA398A is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.8% C 0.184 H 346.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#BA398A
RGBrgb(186, 57, 138)
HSLhsl(322, 53%, 48%)
HSVhsv(322, 69%, 73%)
CMYKcmyk(0%, 69.4%, 25.8%, 27.1%)
CIE-LABlab(45.91, 58.97, -16.68)
CIE-LCHlch(45.91, 61.28, 344.21°)
OKLaboklab(55.8% 0.1785 -0.0442)
OKLCHoklch(55.8% 0.184 346.1)
XYZxyz(26.3014, 15.2031, 25.5892)
Luminance0.1520 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA398A #39BA69
analogous
#AA39BA #BA398A #BA3949
triadic
#BA398A #8ABA39 #398ABA
tetradic
#BA398A #BAAA39 #39BA69 #3949BA
square
#BA398A #BAAA39 #39BA69 #3949BA
split-complementary
#BA398A #49BA39 #39BAAA
monochromatic
#5C1C44 #8B2B67 #BA398A #CF61A6 #DD90C1

Accessibility & contrast

On white

5.20
#BA398A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#BA398A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA398A
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA398A#FFFFFF#000000##FFFFFF
##BA398A1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495F8C
Deuteranopia (green-blind)
#6F7587
Tritanopia (blue-blind)
#C7365C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba398a;
/* rgb */ color: rgb(186, 57, 138);
/* oklch */ color: oklch(55.8% 0.184 346.1);
Tailwind
colors: {
  custom: {
    50: '#d379ac',
    500: '#ba398a',
    950: '#000000',
  },
}
SCSS
$custom: #ba398a;
$custom-light: #d379ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ba398a",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 138
  },
  "hsl": {
    "h": 322.326,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.558,
    "c": 0.1839,
    "h": 346.1
  },
  "luminance": 0.152
}

Semantic roles & 50–950 ramp

primary
#BA398A
secondary
#87C89F
accent
#DC814B
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA398A

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

Preview Lab → · Contrast checker → · Palette generator →

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