#BA4789#BA4789

#BA4789 is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.3% C 0.164 H 348.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#BA4789
RGBrgb(186, 71, 137)
HSLhsl(326, 45%, 50%)
HSVhsv(326, 62%, 73%)
CMYKcmyk(0%, 61.8%, 26.3%, 27.1%)
CIE-LABlab(47.95, 53.12, -12.98)
CIE-LCHlch(47.95, 54.68, 346.27°)
OKLaboklab(57.29% 0.1607 -0.0341)
OKLCHoklch(57.29% 0.164 348)
XYZxyz(27.0194, 16.7544, 25.4730)
Luminance0.1675 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4789 #47BA78
analogous
#B147BA #BA4789 #BA474F
triadic
#BA4789 #89BA47 #4789BA
tetradic
#BA4789 #BAB147 #47BA78 #474FBA
square
#BA4789 #BAB147 #47BA78 #474FBA
split-complementary
#BA4789 #4FBA47 #47BAB1
monochromatic
#622548 #8E3568 #BA4789 #CB74A6 #DBA0C2

Accessibility & contrast

On white

4.83
#BA4789 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#BA4789 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4789
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4789#FFFFFF#000000##FFFFFF
##BA47891.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55658B
Deuteranopia (green-blind)
#757986
Tritanopia (blue-blind)
#C64462
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba4789;
/* rgb */ color: rgb(186, 71, 137);
/* oklch */ color: oklch(57.3% 0.164 348.0);
Tailwind
colors: {
  custom: {
    50: '#d281ab',
    500: '#ba4789',
    950: '#000000',
  },
}
SCSS
$custom: #ba4789;
$custom-light: #d281ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4789",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 137
  },
  "hsl": {
    "h": 325.565,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57285,
    "c": 0.16425,
    "h": 348
  },
  "luminance": 0.16752
}

Semantic roles & 50–950 ramp

primary
#BA4789
secondary
#95C8AB
accent
#D58A53
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #BA4789

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

Preview Lab → · Contrast checker → · Palette generator →

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