#BA3878#BA3878

#BA3878 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.0% C 0.176 H 354.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#BA3878
RGBrgb(186, 56, 120)
HSLhsl(330, 54%, 47%)
HSVhsv(330, 70%, 73%)
CMYKcmyk(0%, 69.9%, 35.5%, 27.1%)
CIE-LABlab(45.12, 57.16, -6.91)
CIE-LCHlch(45.12, 57.57, 353.10°)
OKLaboklab(55% 0.175 -0.0175)
OKLCHoklch(55% 0.176 354.3)
XYZxyz(25.0555, 14.6264, 19.2694)
Luminance0.1462 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3878 #38BA7A
analogous
#BA38B9 #BA3878 #BA3938
triadic
#BA3878 #78BA38 #3878BA
tetradic
#BA3878 #B9BA38 #38BA7A #3938BA
square
#BA3878 #B9BA38 #38BA7A #3938BA
split-complementary
#BA3878 #38BA39 #38B9BA
monochromatic
#5C1C3B #8B2A5A #BA3878 #CF6097 #DD8FB6

Accessibility & contrast

On white

5.35
#BA3878 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#BA3878 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3878
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3878#FFFFFF#000000##FFFFFF
##BA38781.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5C7A
Deuteranopia (green-blind)
#737375
Tritanopia (blue-blind)
#C82D53
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba3878;
/* rgb */ color: rgb(186, 56, 120);
/* oklch */ color: oklch(55.0% 0.176 354.3);
Tailwind
colors: {
  custom: {
    50: '#d3789e',
    500: '#ba3878',
    950: '#000000',
  },
}
SCSS
$custom: #ba3878;
$custom-light: #d3789e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3878",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 120
  },
  "hsl": {
    "h": 330.462,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55002,
    "c": 0.17587,
    "h": 354.3
  },
  "luminance": 0.14624
}

Semantic roles & 50–950 ramp

primary
#BA3878
secondary
#86C8A7
accent
#DD954B
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA3878

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

Preview Lab → · Contrast checker → · Palette generator →

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