#BA397C#BA397C

#BA397C is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.2% C 0.176 H 352.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#BA397C
RGBrgb(186, 57, 124)
HSLhsl(329, 53%, 48%)
HSVhsv(329, 69%, 73%)
CMYKcmyk(0%, 69.4%, 33.3%, 27.1%)
CIE-LABlab(45.39, 57.24, -8.95)
CIE-LCHlch(45.39, 57.93, 351.11°)
OKLaboklab(55.25% 0.175 -0.023)
OKLCHoklch(55.25% 0.176 352.5)
XYZxyz(25.3523, 14.8235, 20.5910)
Luminance0.1482 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA397C #39BA77
analogous
#B739BA #BA397C #BA393C
triadic
#BA397C #7CBA39 #397CBA
tetradic
#BA397C #BAB739 #39BA77 #393CBA
square
#BA397C #BAB739 #39BA77 #393CBA
split-complementary
#BA397C #3CBA39 #39BAB7
monochromatic
#5C1C3E #8B2B5D #BA397C #CF619A #DD90B8

Accessibility & contrast

On white

5.30
#BA397C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#BA397C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA397C
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA397C#FFFFFF#000000##FFFFFF
##BA397C1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5D7E
Deuteranopia (green-blind)
#727479
Tritanopia (blue-blind)
#C83055
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba397c;
/* rgb */ color: rgb(186, 57, 124);
/* oklch */ color: oklch(55.2% 0.176 352.5);
Tailwind
colors: {
  custom: {
    50: '#d379a1',
    500: '#ba397c',
    950: '#000000',
  },
}
SCSS
$custom: #ba397c;
$custom-light: #d379a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba397c",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 124
  },
  "hsl": {
    "h": 328.837,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55248,
    "c": 0.17647,
    "h": 352.5
  },
  "luminance": 0.14821
}

Semantic roles & 50–950 ramp

primary
#BA397C
secondary
#87C8A6
accent
#DC914B
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0F
muted
#837C7E

Preview Lab

Preview with #BA397C

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

Preview Lab → · Contrast checker → · Palette generator →

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