#BA3077#BA3077

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

Color values

HEX#BA3077
RGBrgb(186, 48, 119)
HSLhsl(329, 59%, 46%)
HSVhsv(329, 74%, 73%)
CMYKcmyk(0%, 74.2%, 36%, 27.1%)
CIE-LABlab(44.07, 59.88, -7.86)
CIE-LCHlch(44.07, 60.39, 352.52°)
OKLaboklab(54.22% 0.1836 -0.02)
OKLCHoklch(54.22% 0.185 353.8)
XYZxyz(24.6380, 13.8879, 18.8324)
Luminance0.1389 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3077 #30BA73
analogous
#B830BA #BA3077 #BA3032
triadic
#BA3077 #77BA30 #3077BA
tetradic
#BA3077 #BAB830 #30BA73 #3032BA
square
#BA3077 #BAB830 #30BA73 #3032BA
split-complementary
#BA3077 #32BA30 #30BAB8
monochromatic
#591739 #892358 #BA3077 #D35495 #DF85B4

Accessibility & contrast

On white

5.56
#BA3077 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA3077
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3077#FFFFFF#000000##FFFFFF
##BA30771.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba3077;
/* rgb */ color: rgb(186, 48, 119);
/* oklch */ color: oklch(54.2% 0.185 353.8);
Tailwind
colors: {
  custom: {
    50: '#d4759e',
    500: '#ba3077',
    950: '#000000',
  },
}
SCSS
$custom: #ba3077;
$custom-light: #d4759e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3077",
  "rgb": {
    "r": 186,
    "g": 48,
    "b": 119
  },
  "hsl": {
    "h": 329.13,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54223,
    "c": 0.18473,
    "h": 353.8
  },
  "luminance": 0.13885
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3077

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

Preview Lab → · Contrast checker → · Palette generator →

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