#BA386E#BA386E

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

Color values

HEX#BA386E
RGBrgb(186, 56, 110)
HSLhsl(335, 54%, 47%)
HSVhsv(335, 70%, 73%)
CMYKcmyk(0%, 69.9%, 40.9%, 27.1%)
CIE-LABlab(44.80, 56.07, -1.24)
CIE-LCHlch(44.80, 56.09, 358.73°)
OKLaboklab(54.66% 0.1718 -0.0026)
OKLCHoklch(54.66% 0.172 359.1)
XYZxyz(24.4800, 14.3962, 16.2385)
Luminance0.1439 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA386E #38BA84
analogous
#BA38AF #BA386E #BA4338
triadic
#BA386E #6EBA38 #386EBA
tetradic
#BA386E #AFBA38 #38BA84 #4338BA
square
#BA386E #AFBA38 #38BA84 #4338BA
split-complementary
#BA386E #38BA43 #38AFBA
monochromatic
#5C1C36 #8B2A52 #BA386E #CF608E #DD8FB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA386E#FFFFFF#000000##FFFFFF
##BA386E1.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)
#525A6F
Deuteranopia (green-blind)
#75736B
Tritanopia (blue-blind)
#C9284E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba386e;
/* rgb */ color: rgb(186, 56, 110);
/* oklch */ color: oklch(54.7% 0.172 359.1);
Tailwind
colors: {
  custom: {
    50: '#d47897',
    500: '#ba386e',
    950: '#000000',
  },
}
SCSS
$custom: #ba386e;
$custom-light: #d47897;
$custom-dark: #000000;
JSON
{
  "hex": "#ba386e",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 110
  },
  "hsl": {
    "h": 335.077,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54659,
    "c": 0.17186,
    "h": 359.1
  },
  "luminance": 0.14393
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA386E

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

Preview Lab → · Contrast checker → · Palette generator →

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