#BA388E#BA388E

#BA388E is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.9% C 0.188 H 344.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#BA388E
RGBrgb(186, 56, 142)
HSLhsl(320, 54%, 47%)
HSVhsv(320, 70%, 73%)
CMYKcmyk(0%, 69.9%, 23.7%, 27.1%)
CIE-LABlab(45.94, 59.86, -19.06)
CIE-LCHlch(45.94, 62.82, 342.34°)
OKLaboklab(55.87% 0.1805 -0.0508)
OKLCHoklch(55.87% 0.188 344.3)
XYZxyz(26.5473, 15.2232, 27.1262)
Luminance0.1522 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA388E #38BA64
analogous
#A538BA #BA388E #BA384D
triadic
#BA388E #8EBA38 #388EBA
tetradic
#BA388E #BAA538 #38BA64 #384DBA
square
#BA388E #BAA538 #38BA64 #384DBA
split-complementary
#BA388E #4DBA38 #38BAA5
monochromatic
#5C1C46 #8B2A6A #BA388E #CF60AA #DD8FC3

Accessibility & contrast

On white

5.19
#BA388E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#BA388E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA388E
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA388E#FFFFFF#000000##FFFFFF
##BA388E1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465F90
Deuteranopia (green-blind)
#6D758B
Tritanopia (blue-blind)
#C6375E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba388e;
/* rgb */ color: rgb(186, 56, 142);
/* oklch */ color: oklch(55.9% 0.188 344.3);
Tailwind
colors: {
  custom: {
    50: '#d379af',
    500: '#ba388e',
    950: '#000000',
  },
}
SCSS
$custom: #ba388e;
$custom-light: #d379af;
$custom-dark: #000000;
JSON
{
  "hex": "#ba388e",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 320.308,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55872,
    "c": 0.18753,
    "h": 344.3
  },
  "luminance": 0.1522
}

Semantic roles & 50–950 ramp

primary
#BA388E
secondary
#86C89C
accent
#DD7C4B
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA388E

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

Preview Lab → · Contrast checker → · Palette generator →

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