#BA3378#BA3378

#BA3378 is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.5% C 0.182 H 353.6°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#BA3378
RGBrgb(186, 51, 120)
HSLhsl(329, 57%, 46%)
HSVhsv(329, 73%, 73%)
CMYKcmyk(0%, 72.6%, 35.5%, 27.1%)
CIE-LABlab(44.47, 58.97, -7.88)
CIE-LCHlch(44.47, 59.49, 352.39°)
OKLaboklab(54.53% 0.1807 -0.0201)
OKLCHoklch(54.53% 0.182 353.6)
XYZxyz(24.8252, 14.1658, 19.1926)
Luminance0.1416 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3378 #33BA75
analogous
#B933BA #BA3378 #BA3335
triadic
#BA3378 #78BA33 #3378BA
tetradic
#BA3378 #BAB933 #33BA75 #3335BA
square
#BA3378 #BAB933 #33BA75 #3335BA
split-complementary
#BA3378 #35BA33 #33BAB9
monochromatic
#5A193A #8A2659 #BA3378 #D15996 #DF89B5

Accessibility & contrast

On white

5.48
#BA3378 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#BA3378 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3378
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3378#FFFFFF#000000##FFFFFF
##BA33781.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B597A
Deuteranopia (green-blind)
#717275
Tritanopia (blue-blind)
#C82751
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba3378;
/* rgb */ color: rgb(186, 51, 120);
/* oklch */ color: oklch(54.5% 0.182 353.6);
Tailwind
colors: {
  custom: {
    50: '#d3769f',
    500: '#ba3378',
    950: '#000000',
  },
}
SCSS
$custom: #ba3378;
$custom-light: #d3769f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3378",
  "rgb": {
    "r": 186,
    "g": 51,
    "b": 120
  },
  "hsl": {
    "h": 329.333,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54526,
    "c": 0.18182,
    "h": 353.6
  },
  "luminance": 0.14163
}

Semantic roles & 50–950 ramp

primary
#BA3378
secondary
#80C9A4
accent
#E09248
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA3378

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

Preview Lab → · Contrast checker → · Palette generator →

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