#BA4073#BA4073

#BA4073 is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.7% C 0.164 H 358.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#BA4073
RGBrgb(186, 64, 115)
HSLhsl(335, 49%, 49%)
HSVhsv(335, 66%, 73%)
CMYKcmyk(0%, 65.6%, 38.2%, 27.1%)
CIE-LABlab(46.11, 53.43, -2.39)
CIE-LCHlch(46.11, 53.48, 357.44°)
OKLaboklab(55.68% 0.1634 -0.0056)
OKLCHoklch(55.68% 0.164 358)
XYZxyz(25.1792, 15.3466, 17.8525)
Luminance0.1534 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4073 #40BA87
analogous
#BA40B0 #BA4073 #BA4A40
triadic
#BA4073 #73BA40 #4073BA
tetradic
#BA4073 #B0BA40 #40BA87 #4A40BA
square
#BA4073 #B0BA40 #40BA87 #4A40BA
split-complementary
#BA4073 #40BA4A #40B0BA
monochromatic
#5F213B #8C3057 #BA4073 #CC6B94 #DC99B5

Accessibility & contrast

On white

5.16
#BA4073 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#BA4073 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4073
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4073#FFFFFF#000000##FFFFFF
##BA40731.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565F74
Deuteranopia (green-blind)
#777670
Tritanopia (blue-blind)
#C93455
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba4073;
/* rgb */ color: rgb(186, 64, 115);
/* oklch */ color: oklch(55.7% 0.164 358.0);
Tailwind
colors: {
  custom: {
    50: '#d37c9b',
    500: '#ba4073',
    950: '#000000',
  },
}
SCSS
$custom: #ba4073;
$custom-light: #d37c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4073",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 115
  },
  "hsl": {
    "h": 334.918,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55678,
    "c": 0.16353,
    "h": 358
  },
  "luminance": 0.15344
}

Semantic roles & 50–950 ramp

primary
#BA4073
secondary
#8EC8B0
accent
#D89F4F
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA4073

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

Preview Lab → · Contrast checker → · Palette generator →

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