#BA387D#BA387D

#BA387D is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.2% C 0.178 H 351.9°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#BA387D
RGBrgb(186, 56, 125)
HSLhsl(328, 54%, 47%)
HSVhsv(328, 70%, 73%)
CMYKcmyk(0%, 69.9%, 32.8%, 27.1%)
CIE-LABlab(45.29, 57.73, -9.71)
CIE-LCHlch(45.29, 58.54, 350.45°)
OKLaboklab(55.19% 0.1764 -0.0251)
OKLCHoklch(55.19% 0.178 351.9)
XYZxyz(25.3669, 14.7510, 20.9094)
Luminance0.1475 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA387D #38BA75
analogous
#B638BA #BA387D #BA383C
triadic
#BA387D #7DBA38 #387DBA
tetradic
#BA387D #BAB638 #38BA75 #383CBA
square
#BA387D #BAB638 #38BA75 #383CBA
split-complementary
#BA387D #3CBA38 #38BAB6
monochromatic
#5C1C3E #8B2A5D #BA387D #CF609B #DD8FB9

Accessibility & contrast

On white

5.32
#BA387D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA387D
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA387D#FFFFFF#000000##FFFFFF
##BA387D1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5C7F
Deuteranopia (green-blind)
#72747A
Tritanopia (blue-blind)
#C82F56
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba387d;
/* rgb */ color: rgb(186, 56, 125);
/* oklch */ color: oklch(55.2% 0.178 351.9);
Tailwind
colors: {
  custom: {
    50: '#d379a2',
    500: '#ba387d',
    950: '#000000',
  },
}
SCSS
$custom: #ba387d;
$custom-light: #d379a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba387d",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 125
  },
  "hsl": {
    "h": 328.154,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55186,
    "c": 0.17819,
    "h": 351.9
  },
  "luminance": 0.14748
}

Semantic roles & 50–950 ramp

primary
#BA387D
secondary
#86C8A5
accent
#DD8F4B
background
#FDF7FA
surface
#FBEEF3
border
#D4C9CD
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA387D

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

Preview Lab → · Contrast checker → · Palette generator →

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