#BA4077#BA4077

#BA4077 is a mid, vivid pink. Relative luminance 0.154; OKLCH L 55.8% C 0.165 H 356.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#BA4077
RGBrgb(186, 64, 119)
HSLhsl(333, 49%, 49%)
HSVhsv(333, 66%, 73%)
CMYKcmyk(0%, 65.6%, 36%, 27.1%)
CIE-LABlab(46.23, 53.88, -4.64)
CIE-LCHlch(46.23, 54.08, 355.07°)
OKLaboklab(55.81% 0.1647 -0.0115)
OKLCHoklch(55.81% 0.165 356)
XYZxyz(25.4144, 15.4407, 19.0912)
Luminance0.1544 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4077 #40BA83
analogous
#BA40B4 #BA4077 #BA4640
triadic
#BA4077 #77BA40 #4077BA
tetradic
#BA4077 #B4BA40 #40BA83 #4640BA
square
#BA4077 #B4BA40 #40BA83 #4640BA
split-complementary
#BA4077 #40BA46 #40B4BA
monochromatic
#5F213D #8C305A #BA4077 #CC6B97 #DC99B7

Accessibility & contrast

On white

5.14
#BA4077 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#BA4077 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4077
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4077#FFFFFF#000000##FFFFFF
##BA40771.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555F79
Deuteranopia (green-blind)
#767674
Tritanopia (blue-blind)
#C83656
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba4077;
/* rgb */ color: rgb(186, 64, 119);
/* oklch */ color: oklch(55.8% 0.165 356.0);
Tailwind
colors: {
  custom: {
    50: '#d37c9e',
    500: '#ba4077',
    950: '#000000',
  },
}
SCSS
$custom: #ba4077;
$custom-light: #d37c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4077",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 119
  },
  "hsl": {
    "h": 332.951,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55813,
    "c": 0.16513,
    "h": 356
  },
  "luminance": 0.15438
}

Semantic roles & 50–950 ramp

primary
#BA4077
secondary
#8EC8AE
accent
#D89B4F
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA4077

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

Preview Lab → · Contrast checker → · Palette generator →

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