#BA3D78#BA3D78

#BA3D78 is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.5% C 0.170 H 355.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#BA3D78
RGBrgb(186, 61, 120)
HSLhsl(332, 51%, 48%)
HSVhsv(332, 67%, 73%)
CMYKcmyk(0%, 67.2%, 35.5%, 27.1%)
CIE-LABlab(45.82, 55.22, -5.87)
CIE-LCHlch(45.82, 55.53, 353.93°)
OKLaboklab(55.52% 0.1689 -0.0148)
OKLCHoklch(55.52% 0.17 355)
XYZxyz(25.3101, 15.1355, 19.3542)
Luminance0.1513 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3D78 #3DBA7F
analogous
#BA3DB6 #BA3D78 #BA403D
triadic
#BA3D78 #78BA3D #3D78BA
tetradic
#BA3D78 #B6BA3D #3DBA7F #403DBA
square
#BA3D78 #B6BA3D #3DBA7F #403DBA
split-complementary
#BA3D78 #3DBA40 #3DB6BA
monochromatic
#5E1F3D #8C2E5A #BA3D78 #CD6797 #DC95B7

Accessibility & contrast

On white

5.22
#BA3D78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#BA3D78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3D78
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3D78#FFFFFF#000000##FFFFFF
##BA3D781.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525E7A
Deuteranopia (green-blind)
#757575
Tritanopia (blue-blind)
#C83355
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba3d78;
/* rgb */ color: rgb(186, 61, 120);
/* oklch */ color: oklch(55.5% 0.170 355.0);
Tailwind
colors: {
  custom: {
    50: '#d37b9e',
    500: '#ba3d78',
    950: '#000000',
  },
}
SCSS
$custom: #ba3d78;
$custom-light: #d37b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3d78",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 120
  },
  "hsl": {
    "h": 331.68,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55519,
    "c": 0.16953,
    "h": 355
  },
  "luminance": 0.15133
}

Semantic roles & 50–950 ramp

primary
#BA3D78
secondary
#8BC8AB
accent
#DA984E
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA3D78

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

Preview Lab → · Contrast checker → · Palette generator →

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