#BA386F#BA386F

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

Color values

HEX#BA386F
RGBrgb(186, 56, 111)
HSLhsl(335, 54%, 47%)
HSVhsv(335, 70%, 73%)
CMYKcmyk(0%, 69.9%, 40.3%, 27.1%)
CIE-LABlab(44.83, 56.18, -1.81)
CIE-LCHlch(44.83, 56.20, 358.15°)
OKLaboklab(54.69% 0.1722 -0.0041)
OKLCHoklch(54.69% 0.172 358.6)
XYZxyz(24.5348, 14.4181, 16.5268)
Luminance0.1442 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA386F #38BA83
analogous
#BA38B0 #BA386F #BA4238
triadic
#BA386F #6FBA38 #386FBA
tetradic
#BA386F #B0BA38 #38BA83 #4238BA
square
#BA386F #B0BA38 #38BA83 #4238BA
split-complementary
#BA386F #38BA42 #38B0BA
monochromatic
#5C1C37 #8B2A53 #BA386F #CF608F #DD8FB0

Accessibility & contrast

On white

5.41
#BA386F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#BA386F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA386F
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA386F#FFFFFF#000000##FFFFFF
##BA386F1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525A70
Deuteranopia (green-blind)
#75736C
Tritanopia (blue-blind)
#C9294F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba386f;
/* rgb */ color: rgb(186, 56, 111);
/* oklch */ color: oklch(54.7% 0.172 358.6);
Tailwind
colors: {
  custom: {
    50: '#d47898',
    500: '#ba386f',
    950: '#000000',
  },
}
SCSS
$custom: #ba386f;
$custom-light: #d47898;
$custom-dark: #000000;
JSON
{
  "hex": "#ba386f",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 111
  },
  "hsl": {
    "h": 334.615,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54692,
    "c": 0.17222,
    "h": 358.6
  },
  "luminance": 0.14415
}

Semantic roles & 50–950 ramp

primary
#BA386F
secondary
#86C8AC
accent
#DD9F4B
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0D
muted
#837C7E

Preview Lab

Preview with #BA386F

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

Preview Lab → · Contrast checker → · Palette generator →

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