#BA3079#BA3079

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

Color values

HEX#BA3079
RGBrgb(186, 48, 121)
HSLhsl(328, 59%, 46%)
HSVhsv(328, 74%, 73%)
CMYKcmyk(0%, 74.2%, 34.9%, 27.1%)
CIE-LABlab(44.14, 60.10, -8.99)
CIE-LCHlch(44.14, 60.77, 351.50°)
OKLaboklab(54.3% 0.1842 -0.0231)
OKLCHoklch(54.3% 0.186 352.9)
XYZxyz(24.7593, 13.9364, 19.4716)
Luminance0.1393 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3079 #30BA71
analogous
#B630BA #BA3079 #BA3034
triadic
#BA3079 #79BA30 #3079BA
tetradic
#BA3079 #BAB630 #30BA71 #3034BA
square
#BA3079 #BAB630 #30BA71 #3034BA
split-complementary
#BA3079 #34BA30 #30BAB6
monochromatic
#59173A #892359 #BA3079 #D35497 #DF85B5

Accessibility & contrast

On white

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

On black

3.79
#BA3079 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA3079#FFFFFF#000000##FFFFFF
##BA30791.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49587B
Deuteranopia (green-blind)
#707176
Tritanopia (blue-blind)
#C82450
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba3079;
/* rgb */ color: rgb(186, 48, 121);
/* oklch */ color: oklch(54.3% 0.186 352.9);
Tailwind
colors: {
  custom: {
    50: '#d3759f',
    500: '#ba3079',
    950: '#000000',
  },
}
SCSS
$custom: #ba3079;
$custom-light: #d3759f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3079",
  "rgb": {
    "r": 186,
    "g": 48,
    "b": 121
  },
  "hsl": {
    "h": 328.261,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54297,
    "c": 0.18564,
    "h": 352.9
  },
  "luminance": 0.13933
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3079

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

Preview Lab → · Contrast checker → · Palette generator →

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