#BA386D#BA386D

#BA386D is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.6% C 0.172 H 359.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#BA386D
RGBrgb(186, 56, 109)
HSLhsl(336, 54%, 47%)
HSVhsv(336, 70%, 73%)
CMYKcmyk(0%, 69.9%, 41.4%, 27.1%)
CIE-LABlab(44.77, 55.97, -0.67)
CIE-LCHlch(44.77, 55.97, 359.32°)
OKLaboklab(54.63% 0.1715 -0.0011)
OKLCHoklch(54.63% 0.172 359.6)
XYZxyz(24.4259, 14.3746, 15.9533)
Luminance0.1437 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA386D #38BA85
analogous
#BA38AE #BA386D #BA4438
triadic
#BA386D #6DBA38 #386DBA
tetradic
#BA386D #AEBA38 #38BA85 #4438BA
square
#BA386D #AEBA38 #38BA85 #4438BA
split-complementary
#BA386D #38BA44 #38AEBA
monochromatic
#5C1C36 #8B2A51 #BA386D #CF608D #DD8FAF

Accessibility & contrast

On white

5.42
#BA386D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA386D
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA386D#FFFFFF#000000##FFFFFF
##BA386D1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525A6E
Deuteranopia (green-blind)
#76736A
Tritanopia (blue-blind)
#C9284E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba386d;
/* rgb */ color: rgb(186, 56, 109);
/* oklch */ color: oklch(54.6% 0.172 359.6);
Tailwind
colors: {
  custom: {
    50: '#d47896',
    500: '#ba386d',
    950: '#000000',
  },
}
SCSS
$custom: #ba386d;
$custom-light: #d47896;
$custom-dark: #000000;
JSON
{
  "hex": "#ba386d",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 109
  },
  "hsl": {
    "h": 335.538,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54627,
    "c": 0.17151,
    "h": 359.6
  },
  "luminance": 0.14372
}

Semantic roles & 50–950 ramp

primary
#BA386D
secondary
#86C8AD
accent
#DDA14B
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0D
muted
#837C7E

Preview Lab

Preview with #BA386D

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

Preview Lab → · Contrast checker → · Palette generator →

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