#BA4072#BA4072

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

Color values

HEX#BA4072
RGBrgb(186, 64, 114)
HSLhsl(335, 49%, 49%)
HSVhsv(335, 66%, 73%)
CMYKcmyk(0%, 65.6%, 38.7%, 27.1%)
CIE-LABlab(46.07, 53.32, -1.82)
CIE-LCHlch(46.07, 53.35, 358.04°)
OKLaboklab(55.65% 0.1631 -0.0041)
OKLCHoklch(55.65% 0.163 358.6)
XYZxyz(25.1220, 15.3237, 17.5511)
Luminance0.1532 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4072 #40BA88
analogous
#BA40AF #BA4072 #BA4B40
triadic
#BA4072 #72BA40 #4072BA
tetradic
#BA4072 #AFBA40 #40BA88 #4B40BA
square
#BA4072 #AFBA40 #40BA88 #4B40BA
split-complementary
#BA4072 #40BA4B #40AFBA
monochromatic
#5F213A #8C3056 #BA4072 #CC6B93 #DC99B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA4072#FFFFFF#000000##FFFFFF
##BA40721.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)
#575F73
Deuteranopia (green-blind)
#77766F
Tritanopia (blue-blind)
#C93454
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba4072;
/* rgb */ color: rgb(186, 64, 114);
/* oklch */ color: oklch(55.6% 0.163 358.6);
Tailwind
colors: {
  custom: {
    50: '#d37c9a',
    500: '#ba4072',
    950: '#000000',
  },
}
SCSS
$custom: #ba4072;
$custom-light: #d37c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4072",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 114
  },
  "hsl": {
    "h": 335.41,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55645,
    "c": 0.16315,
    "h": 358.6
  },
  "luminance": 0.15321
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA4072

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

Preview Lab → · Contrast checker → · Palette generator →

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