#BA3078#BA3078

#BA3078 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.3% C 0.185 H 353.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#BA3078
RGBrgb(186, 48, 120)
HSLhsl(329, 59%, 46%)
HSVhsv(329, 74%, 73%)
CMYKcmyk(0%, 74.2%, 35.5%, 27.1%)
CIE-LABlab(44.11, 59.99, -8.42)
CIE-LCHlch(44.11, 60.57, 352.01°)
OKLaboklab(54.26% 0.1839 -0.0215)
OKLCHoklch(54.26% 0.185 353.3)
XYZxyz(24.6983, 13.9120, 19.1503)
Luminance0.1391 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3078 #30BA72
analogous
#B730BA #BA3078 #BA3033
triadic
#BA3078 #78BA30 #3078BA
tetradic
#BA3078 #BAB730 #30BA72 #3033BA
square
#BA3078 #BAB730 #30BA72 #3033BA
split-complementary
#BA3078 #33BA30 #30BAB7
monochromatic
#591739 #892359 #BA3078 #D35496 #DF85B4

Accessibility & contrast

On white

5.55
#BA3078 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#BA3078 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3078
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3078#FFFFFF#000000##FFFFFF
##BA30781.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49587A
Deuteranopia (green-blind)
#707175
Tritanopia (blue-blind)
#C82350
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba3078;
/* rgb */ color: rgb(186, 48, 120);
/* oklch */ color: oklch(54.3% 0.185 353.3);
Tailwind
colors: {
  custom: {
    50: '#d3759f',
    500: '#ba3078',
    950: '#000000',
  },
}
SCSS
$custom: #ba3078;
$custom-light: #d3759f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3078",
  "rgb": {
    "r": 186,
    "g": 48,
    "b": 120
  },
  "hsl": {
    "h": 328.696,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5426,
    "c": 0.18518,
    "h": 353.3
  },
  "luminance": 0.13909
}

Semantic roles & 50–950 ramp

primary
#BA3078
secondary
#7DC9A1
accent
#E29046
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA3078

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

Preview Lab → · Contrast checker → · Palette generator →

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