#BA398B#BA398B

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

Color values

HEX#BA398B
RGBrgb(186, 57, 139)
HSLhsl(322, 53%, 48%)
HSVhsv(322, 69%, 73%)
CMYKcmyk(0%, 69.4%, 25.3%, 27.1%)
CIE-LABlab(45.95, 59.10, -17.22)
CIE-LCHlch(45.95, 61.55, 343.75°)
OKLaboklab(55.84% 0.1788 -0.0457)
OKLCHoklch(55.84% 0.184 345.7)
XYZxyz(26.3741, 15.2322, 25.9722)
Luminance0.1523 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA398B #39BA68
analogous
#A839BA #BA398B #BA394B
triadic
#BA398B #8BBA39 #398BBA
tetradic
#BA398B #BAA839 #39BA68 #394BBA
square
#BA398B #BAA839 #39BA68 #394BBA
split-complementary
#BA398B #4BBA39 #39BAA8
monochromatic
#5C1C45 #8B2B68 #BA398B #CF61A7 #DD90C1

Accessibility & contrast

On white

5.19
#BA398B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA398B
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA398B#FFFFFF#000000##FFFFFF
##BA398B1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485F8D
Deuteranopia (green-blind)
#6E7588
Tritanopia (blue-blind)
#C6375D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba398b;
/* rgb */ color: rgb(186, 57, 139);
/* oklch */ color: oklch(55.8% 0.184 345.7);
Tailwind
colors: {
  custom: {
    50: '#d37aad',
    500: '#ba398b',
    950: '#000000',
  },
}
SCSS
$custom: #ba398b;
$custom-light: #d37aad;
$custom-dark: #000000;
JSON
{
  "hex": "#ba398b",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 139
  },
  "hsl": {
    "h": 321.86,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55841,
    "c": 0.18449,
    "h": 345.7
  },
  "luminance": 0.15229
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA398B

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

Preview Lab → · Contrast checker → · Palette generator →

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