#BA397A#BA397A

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

Color values

HEX#BA397A
RGBrgb(186, 57, 122)
HSLhsl(330, 53%, 48%)
HSVhsv(330, 69%, 73%)
CMYKcmyk(0%, 69.4%, 34.4%, 27.1%)
CIE-LABlab(45.32, 57.01, -7.83)
CIE-LCHlch(45.32, 57.54, 352.18°)
OKLaboklab(55.18% 0.1744 -0.02)
OKLCHoklch(55.18% 0.176 353.5)
XYZxyz(25.2271, 14.7734, 19.9316)
Luminance0.1477 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA397A #39BA79
analogous
#B939BA #BA397A #BA393A
triadic
#BA397A #7ABA39 #397ABA
tetradic
#BA397A #BAB939 #39BA79 #393ABA
square
#BA397A #BAB939 #39BA79 #393ABA
split-complementary
#BA397A #3ABA39 #39BAB9
monochromatic
#5C1C3D #8B2B5B #BA397A #CF6199 #DD90B7

Accessibility & contrast

On white

5.31
#BA397A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#BA397A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA397A
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA397A#FFFFFF#000000##FFFFFF
##BA397A1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5C7C
Deuteranopia (green-blind)
#737477
Tritanopia (blue-blind)
#C82F55
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba397a;
/* rgb */ color: rgb(186, 57, 122);
/* oklch */ color: oklch(55.2% 0.176 353.5);
Tailwind
colors: {
  custom: {
    50: '#d379a0',
    500: '#ba397a',
    950: '#000000',
  },
}
SCSS
$custom: #ba397a;
$custom-light: #d379a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba397a",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 329.767,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55175,
    "c": 0.17553,
    "h": 353.5
  },
  "luminance": 0.1477
}

Semantic roles & 50–950 ramp

primary
#BA397A
secondary
#87C8A7
accent
#DC934B
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA397A

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

Preview Lab → · Contrast checker → · Palette generator →

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