#BA388F#BA388F

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

Color values

HEX#BA388F
RGBrgb(186, 56, 143)
HSLhsl(320, 54%, 47%)
HSVhsv(320, 70%, 73%)
CMYKcmyk(0%, 69.9%, 23.1%, 27.1%)
CIE-LABlab(45.98, 59.99, -19.60)
CIE-LCHlch(45.98, 63.11, 341.91°)
OKLaboklab(55.92% 0.1807 -0.0523)
OKLCHoklch(55.92% 0.188 343.9)
XYZxyz(26.6228, 15.2533, 27.5234)
Luminance0.1525 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA388F #38BA63
analogous
#A438BA #BA388F #BA384E
triadic
#BA388F #8FBA38 #388FBA
tetradic
#BA388F #BAA438 #38BA63 #384EBA
square
#BA388F #BAA438 #38BA63 #384EBA
split-complementary
#BA388F #4EBA38 #38BAA4
monochromatic
#5C1C47 #8B2A6B #BA388F #CF60AA #DD8FC3

Accessibility & contrast

On white

5.18
#BA388F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#BA388F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA388F
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA388F#FFFFFF#000000##FFFFFF
##BA388F1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455F91
Deuteranopia (green-blind)
#6D758C
Tritanopia (blue-blind)
#C6375E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba388f;
/* rgb */ color: rgb(186, 56, 143);
/* oklch */ color: oklch(55.9% 0.188 343.9);
Tailwind
colors: {
  custom: {
    50: '#d379b0',
    500: '#ba388f',
    950: '#000000',
  },
}
SCSS
$custom: #ba388f;
$custom-light: #d379b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba388f",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 143
  },
  "hsl": {
    "h": 319.846,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55915,
    "c": 0.18814,
    "h": 343.9
  },
  "luminance": 0.15251
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA388F

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

Preview Lab → · Contrast checker → · Palette generator →

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