#BA386B#BA386B

#BA386B is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.6% C 0.171 H 0.6°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#BA386B
RGBrgb(186, 56, 107)
HSLhsl(336, 54%, 47%)
HSVhsv(336, 70%, 73%)
CMYKcmyk(0%, 69.9%, 42.5%, 27.1%)
CIE-LABlab(44.71, 55.76, 0.48)
CIE-LCHlch(44.71, 55.77, 0.49°)
OKLaboklab(54.56% 0.1708 0.0019)
OKLCHoklch(54.56% 0.171 0.6)
XYZxyz(24.3195, 14.3320, 15.3928)
Luminance0.1433 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA386B #38BA87
analogous
#BA38AC #BA386B #BA4638
triadic
#BA386B #6BBA38 #386BBA
tetradic
#BA386B #ACBA38 #38BA87 #4638BA
square
#BA386B #ACBA38 #38BA87 #4638BA
split-complementary
#BA386B #38BA46 #38ACBA
monochromatic
#5C1C35 #8B2A50 #BA386B #CF608C #DD8FAE

Accessibility & contrast

On white

5.43
#BA386B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#BA386B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA386B
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA386B#FFFFFF#000000##FFFFFF
##BA386B1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535A6C
Deuteranopia (green-blind)
#767368
Tritanopia (blue-blind)
#C9274D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba386b;
/* rgb */ color: rgb(186, 56, 107);
/* oklch */ color: oklch(54.6% 0.171 0.6);
Tailwind
colors: {
  custom: {
    50: '#d47895',
    500: '#ba386b',
    950: '#000000',
  },
}
SCSS
$custom: #ba386b;
$custom-light: #d47895;
$custom-dark: #000000;
JSON
{
  "hex": "#ba386b",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 107
  },
  "hsl": {
    "h": 336.462,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54563,
    "c": 0.17084,
    "h": 0.6
  },
  "luminance": 0.14329
}

Semantic roles & 50–950 ramp

primary
#BA386B
secondary
#86C8AE
accent
#DDA44B
background
#FDF7F9
surface
#FBEEF1
border
#D4C9CB
text
#150A0D
muted
#837C7E

Preview Lab

Preview with #BA386B

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

Preview Lab → · Contrast checker → · Palette generator →

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