#BA387E#BA387E

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

Color values

HEX#BA387E
RGBrgb(186, 56, 126)
HSLhsl(328, 54%, 47%)
HSVhsv(328, 70%, 73%)
CMYKcmyk(0%, 69.9%, 32.3%, 27.1%)
CIE-LABlab(45.33, 57.85, -10.27)
CIE-LCHlch(45.33, 58.75, 349.93°)
OKLaboklab(55.22% 0.1767 -0.0266)
OKLCHoklch(55.22% 0.179 351.4)
XYZxyz(25.4311, 14.7767, 21.2475)
Luminance0.1477 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA387E #38BA74
analogous
#B538BA #BA387E #BA383D
triadic
#BA387E #7EBA38 #387EBA
tetradic
#BA387E #BAB538 #38BA74 #383DBA
square
#BA387E #BAB538 #38BA74 #383DBA
split-complementary
#BA387E #3DBA38 #38BAB5
monochromatic
#5C1C3E #8B2A5E #BA387E #CF609C #DD8FB9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA387E#FFFFFF#000000##FFFFFF
##BA387E1.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)
#4D5C80
Deuteranopia (green-blind)
#72747B
Tritanopia (blue-blind)
#C83056
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba387e;
/* rgb */ color: rgb(186, 56, 126);
/* oklch */ color: oklch(55.2% 0.179 351.4);
Tailwind
colors: {
  custom: {
    50: '#d379a3',
    500: '#ba387e',
    950: '#000000',
  },
}
SCSS
$custom: #ba387e;
$custom-light: #d379a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba387e",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 126
  },
  "hsl": {
    "h": 327.692,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55224,
    "c": 0.17869,
    "h": 351.4
  },
  "luminance": 0.14774
}

Semantic roles & 50–950 ramp

primary
#BA387E
secondary
#86C8A4
accent
#DD8E4B
background
#FDF7FA
surface
#FBEEF3
border
#D4C9CD
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA387E

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

Preview Lab → · Contrast checker → · Palette generator →

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