#BA387F#BA387F

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

Color values

HEX#BA387F
RGBrgb(186, 56, 127)
HSLhsl(327, 54%, 47%)
HSVhsv(327, 70%, 73%)
CMYKcmyk(0%, 69.9%, 31.7%, 27.1%)
CIE-LABlab(45.36, 57.97, -10.83)
CIE-LCHlch(45.36, 58.97, 349.42°)
OKLaboklab(55.26% 0.177 -0.0281)
OKLCHoklch(55.26% 0.179 351)
XYZxyz(25.4960, 14.8026, 21.5891)
Luminance0.1480 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA387F #38BA73
analogous
#B438BA #BA387F #BA383E
triadic
#BA387F #7FBA38 #387FBA
tetradic
#BA387F #BAB438 #38BA73 #383EBA
square
#BA387F #BAB438 #38BA73 #383EBA
split-complementary
#BA387F #3EBA38 #38BAB4
monochromatic
#5C1C3F #8B2A5F #BA387F #CF609D #DD8FBA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA387F#FFFFFF#000000##FFFFFF
##BA387F1.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)
#4C5D81
Deuteranopia (green-blind)
#71747C
Tritanopia (blue-blind)
#C83056
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba387f;
/* rgb */ color: rgb(186, 56, 127);
/* oklch */ color: oklch(55.3% 0.179 351.0);
Tailwind
colors: {
  custom: {
    50: '#d379a4',
    500: '#ba387f',
    950: '#000000',
  },
}
SCSS
$custom: #ba387f;
$custom-light: #d379a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba387f",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 127
  },
  "hsl": {
    "h": 327.231,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55262,
    "c": 0.17919,
    "h": 351
  },
  "luminance": 0.148
}

Semantic roles & 50–950 ramp

primary
#BA387F
secondary
#86C8A4
accent
#DD8D4B
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA387F

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

Preview Lab → · Contrast checker → · Palette generator →

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