#BA3F78#BA3F78

#BA3F78 is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.7% C 0.167 H 355.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#BA3F78
RGBrgb(186, 63, 120)
HSLhsl(332, 49%, 49%)
HSVhsv(332, 66%, 73%)
CMYKcmyk(0%, 66.1%, 35.5%, 27.1%)
CIE-LABlab(46.11, 54.41, -5.43)
CIE-LCHlch(46.11, 54.68, 354.30°)
OKLaboklab(55.74% 0.1663 -0.0136)
OKLCHoklch(55.74% 0.167 355.3)
XYZxyz(25.4188, 15.3531, 19.3905)
Luminance0.1535 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F78 #3FBA81
analogous
#BA3FB6 #BA3F78 #BA433F
triadic
#BA3F78 #78BA3F #3F78BA
tetradic
#BA3F78 #B6BA3F #3FBA81 #433FBA
square
#BA3F78 #B6BA3F #3FBA81 #433FBA
split-complementary
#BA3F78 #3FBA43 #3FB6BA
monochromatic
#5F203D #8C305B #BA3F78 #CC6A97 #DC97B7

Accessibility & contrast

On white

5.16
#BA3F78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#BA3F78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3F78
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3F78#FFFFFF#000000##FFFFFF
##BA3F781.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545F7A
Deuteranopia (green-blind)
#767675
Tritanopia (blue-blind)
#C83556
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3f78;
/* rgb */ color: rgb(186, 63, 120);
/* oklch */ color: oklch(55.7% 0.167 355.3);
Tailwind
colors: {
  custom: {
    50: '#d37c9e',
    500: '#ba3f78',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f78;
$custom-light: #d37c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f78",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 120
  },
  "hsl": {
    "h": 332.195,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55736,
    "c": 0.1669,
    "h": 355.3
  },
  "luminance": 0.1535
}

Semantic roles & 50–950 ramp

primary
#BA3F78
secondary
#8DC8AD
accent
#D9994F
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA3F78

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

Preview Lab → · Contrast checker → · Palette generator →

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