#BA4079#BA4079

#BA4079 is a mid, vivid pink. Relative luminance 0.155; OKLCH L 55.9% C 0.166 H 355.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#BA4079
RGBrgb(186, 64, 121)
HSLhsl(332, 49%, 49%)
HSVhsv(332, 66%, 73%)
CMYKcmyk(0%, 65.6%, 34.9%, 27.1%)
CIE-LABlab(46.30, 54.11, -5.77)
CIE-LCHlch(46.30, 54.42, 353.92°)
OKLaboklab(55.88% 0.1654 -0.0145)
OKLCHoklch(55.88% 0.166 355)
XYZxyz(25.5357, 15.4892, 19.7304)
Luminance0.1549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4079 #40BA81
analogous
#BA40B6 #BA4079 #BA4440
triadic
#BA4079 #79BA40 #4079BA
tetradic
#BA4079 #B6BA40 #40BA81 #4440BA
square
#BA4079 #B6BA40 #40BA81 #4440BA
split-complementary
#BA4079 #40BA44 #40B6BA
monochromatic
#5F213E #8C305B #BA4079 #CC6B98 #DC99B8

Accessibility & contrast

On white

5.13
#BA4079 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#BA4079 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4079
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4079#FFFFFF#000000##FFFFFF
##BA40791.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545F7B
Deuteranopia (green-blind)
#767676
Tritanopia (blue-blind)
#C83657
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba4079;
/* rgb */ color: rgb(186, 64, 121);
/* oklch */ color: oklch(55.9% 0.166 355.0);
Tailwind
colors: {
  custom: {
    50: '#d37d9f',
    500: '#ba4079',
    950: '#000000',
  },
}
SCSS
$custom: #ba4079;
$custom-light: #d37d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4079",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 121
  },
  "hsl": {
    "h": 331.967,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55882,
    "c": 0.16599,
    "h": 355
  },
  "luminance": 0.15486
}

Semantic roles & 50–950 ramp

primary
#BA4079
secondary
#8EC8AD
accent
#D8984F
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA4079

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

Preview Lab → · Contrast checker → · Palette generator →

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