#BA3076#BA3076

#BA3076 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.2% C 0.184 H 354.2°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#BA3076
RGBrgb(186, 48, 118)
HSLhsl(330, 59%, 46%)
HSVhsv(330, 74%, 73%)
CMYKcmyk(0%, 74.2%, 36.6%, 27.1%)
CIE-LABlab(44.04, 59.77, -7.30)
CIE-LCHlch(44.04, 60.21, 353.04°)
OKLaboklab(54.19% 0.1834 -0.0185)
OKLCHoklch(54.19% 0.184 354.2)
XYZxyz(24.5782, 13.8640, 18.5177)
Luminance0.1386 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3076 #30BA74
analogous
#B930BA #BA3076 #BA3031
triadic
#BA3076 #76BA30 #3076BA
tetradic
#BA3076 #BAB930 #30BA74 #3031BA
square
#BA3076 #BAB930 #30BA74 #3031BA
split-complementary
#BA3076 #31BA30 #30BAB9
monochromatic
#591738 #892357 #BA3076 #D35495 #DF85B3

Accessibility & contrast

On white

5.57
#BA3076 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#BA3076 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3076
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3076#FFFFFF#000000##FFFFFF
##BA30761.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5878
Deuteranopia (green-blind)
#717173
Tritanopia (blue-blind)
#C9224F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba3076;
/* rgb */ color: rgb(186, 48, 118);
/* oklch */ color: oklch(54.2% 0.184 354.2);
Tailwind
colors: {
  custom: {
    50: '#d4759d',
    500: '#ba3076',
    950: '#000000',
  },
}
SCSS
$custom: #ba3076;
$custom-light: #d4759d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3076",
  "rgb": {
    "r": 186,
    "g": 48,
    "b": 118
  },
  "hsl": {
    "h": 329.565,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54187,
    "c": 0.18428,
    "h": 354.2
  },
  "luminance": 0.13861
}

Semantic roles & 50–950 ramp

primary
#BA3076
secondary
#7DC9A2
accent
#E29346
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA3076

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

Preview Lab → · Contrast checker → · Palette generator →

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