#BA386C#BA386C

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

Color values

HEX#BA386C
RGBrgb(186, 56, 108)
HSLhsl(336, 54%, 47%)
HSVhsv(336, 70%, 73%)
CMYKcmyk(0%, 69.9%, 41.9%, 27.1%)
CIE-LABlab(44.74, 55.87, -0.10)
CIE-LCHlch(44.74, 55.87, 359.90°)
OKLaboklab(54.6% 0.1712 0.0004)
OKLCHoklch(54.6% 0.171 0.1)
XYZxyz(24.3724, 14.3532, 15.6714)
Luminance0.1435 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA386C #38BA86
analogous
#BA38AD #BA386C #BA4538
triadic
#BA386C #6CBA38 #386CBA
tetradic
#BA386C #ADBA38 #38BA86 #4538BA
square
#BA386C #ADBA38 #38BA86 #4538BA
split-complementary
#BA386C #38BA45 #38ADBA
monochromatic
#5C1C35 #8B2A51 #BA386C #CF608C #DD8FAE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA386C#FFFFFF#000000##FFFFFF
##BA386C1.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)
#535A6D
Deuteranopia (green-blind)
#767369
Tritanopia (blue-blind)
#C9274E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba386c;
/* rgb */ color: rgb(186, 56, 108);
/* oklch */ color: oklch(54.6% 0.171 0.1);
Tailwind
colors: {
  custom: {
    50: '#d47896',
    500: '#ba386c',
    950: '#000000',
  },
}
SCSS
$custom: #ba386c;
$custom-light: #d47896;
$custom-dark: #000000;
JSON
{
  "hex": "#ba386c",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 108
  },
  "hsl": {
    "h": 336,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54595,
    "c": 0.17117,
    "h": 0.1
  },
  "luminance": 0.1435
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA386C

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

Preview Lab → · Contrast checker → · Palette generator →

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