#BA4071#BA4071

#BA4071 is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.6% C 0.163 H 359.1°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#BA4071
RGBrgb(186, 64, 113)
HSLhsl(336, 49%, 49%)
HSVhsv(336, 66%, 73%)
CMYKcmyk(0%, 65.6%, 39.2%, 27.1%)
CIE-LABlab(46.04, 53.21, -1.25)
CIE-LCHlch(46.04, 53.22, 358.65°)
OKLaboklab(55.61% 0.1628 -0.0026)
OKLCHoklch(55.61% 0.163 359.1)
XYZxyz(25.0653, 15.3011, 17.2530)
Luminance0.1530 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4071 #40BA89
analogous
#BA40AE #BA4071 #BA4C40
triadic
#BA4071 #71BA40 #4071BA
tetradic
#BA4071 #AEBA40 #40BA89 #4C40BA
square
#BA4071 #AEBA40 #40BA89 #4C40BA
split-complementary
#BA4071 #40BA4C #40AEBA
monochromatic
#5F213A #8C3055 #BA4071 #CC6B92 #DC99B4

Accessibility & contrast

On white

5.17
#BA4071 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#BA4071 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4071
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4071#FFFFFF#000000##FFFFFF
##BA40711.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575E72
Deuteranopia (green-blind)
#78766E
Tritanopia (blue-blind)
#C93354
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba4071;
/* rgb */ color: rgb(186, 64, 113);
/* oklch */ color: oklch(55.6% 0.163 359.1);
Tailwind
colors: {
  custom: {
    50: '#d37c99',
    500: '#ba4071',
    950: '#000000',
  },
}
SCSS
$custom: #ba4071;
$custom-light: #d37c99;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4071",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 113
  },
  "hsl": {
    "h": 335.902,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55612,
    "c": 0.16279,
    "h": 359.1
  },
  "luminance": 0.15298
}

Semantic roles & 50–950 ramp

primary
#BA4071
secondary
#8EC8B1
accent
#D8A14F
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA4071

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

Preview Lab → · Contrast checker → · Palette generator →

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