#BA399C#BA399C

#BA399C is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.6% C 0.195 H 338.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#BA399C
RGBrgb(186, 57, 156)
HSLhsl(314, 53%, 48%)
HSVhsv(314, 69%, 73%)
CMYKcmyk(0%, 69.4%, 16.1%, 27.1%)
CIE-LABlab(46.67, 61.43, -26.33)
CIE-LCHlch(46.67, 66.84, 336.80°)
OKLaboklab(56.6% 0.1819 -0.0713)
OKLCHoklch(56.6% 0.195 338.6)
XYZxyz(27.7142, 15.7682, 33.0300)
Luminance0.1577 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA399C #39BA57
analogous
#9739BA #BA399C #BA395C
triadic
#BA399C #9CBA39 #399CBA
tetradic
#BA399C #BA9739 #39BA57 #395CBA
square
#BA399C #BA9739 #39BA57 #395CBA
split-complementary
#BA399C #5CBA39 #39BA97
monochromatic
#5C1C4D #8B2B75 #BA399C #CF61B5 #DD90CB

Accessibility & contrast

On white

5.06
#BA399C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#BA399C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA399C
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA399C#FFFFFF#000000##FFFFFF
##BA399C1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F629F
Deuteranopia (green-blind)
#687699
Tritanopia (blue-blind)
#C43E66
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba399c;
/* rgb */ color: rgb(186, 57, 156);
/* oklch */ color: oklch(56.6% 0.195 338.6);
Tailwind
colors: {
  custom: {
    50: '#d27ab9',
    500: '#ba399c',
    950: '#000000',
  },
}
SCSS
$custom: #ba399c;
$custom-light: #d27ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba399c",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 156
  },
  "hsl": {
    "h": 313.953,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.566,
    "c": 0.19534,
    "h": 338.6
  },
  "luminance": 0.15766
}

Semantic roles & 50–950 ramp

primary
#BA399C
secondary
#87C896
accent
#DC6D4B
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA399C

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

Preview Lab → · Contrast checker → · Palette generator →

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