#BA3478#BA3478

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

Color values

HEX#BA3478
RGBrgb(186, 52, 120)
HSLhsl(330, 56%, 47%)
HSVhsv(330, 72%, 73%)
CMYKcmyk(0%, 72%, 35.5%, 27.1%)
CIE-LABlab(44.60, 58.61, -7.69)
CIE-LCHlch(44.60, 59.12, 352.52°)
OKLaboklab(54.62% 0.1796 -0.0196)
OKLCHoklch(54.62% 0.181 353.8)
XYZxyz(24.8694, 14.2541, 19.2073)
Luminance0.1425 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3478 #34BA76
analogous
#B934BA #BA3478 #BA3435
triadic
#BA3478 #78BA34 #3478BA
tetradic
#BA3478 #BAB934 #34BA76 #3435BA
square
#BA3478 #BAB934 #34BA76 #3435BA
split-complementary
#BA3478 #35BA34 #34BAB9
monochromatic
#5A193A #8A2759 #BA3478 #D15A96 #DE8AB5

Accessibility & contrast

On white

5.45
#BA3478 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#BA3478 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3478
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3478#FFFFFF#000000##FFFFFF
##BA34781.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5A7A
Deuteranopia (green-blind)
#727275
Tritanopia (blue-blind)
#C82851
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba3478;
/* rgb */ color: rgb(186, 52, 120);
/* oklch */ color: oklch(54.6% 0.181 353.8);
Tailwind
colors: {
  custom: {
    50: '#d3779f',
    500: '#ba3478',
    950: '#000000',
  },
}
SCSS
$custom: #ba3478;
$custom-light: #d3779f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3478",
  "rgb": {
    "r": 186,
    "g": 52,
    "b": 120
  },
  "hsl": {
    "h": 329.552,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54618,
    "c": 0.18066,
    "h": 353.8
  },
  "luminance": 0.14251
}

Semantic roles & 50–950 ramp

primary
#BA3478
secondary
#81C8A4
accent
#E09348
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA3478

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

Preview Lab → · Contrast checker → · Palette generator →

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