#BA4289#BA4289

#BA4289 is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.7% C 0.171 H 347.4°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#BA4289
RGBrgb(186, 66, 137)
HSLhsl(325, 48%, 49%)
HSVhsv(325, 65%, 73%)
CMYKcmyk(0%, 64.5%, 26.3%, 27.1%)
CIE-LABlab(47.16, 55.26, -14.17)
CIE-LCHlch(47.16, 57.05, 345.62°)
OKLaboklab(56.71% 0.1673 -0.0373)
OKLCHoklch(56.71% 0.171 347.4)
XYZxyz(26.7143, 16.1444, 25.3713)
Luminance0.1614 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4289 #42BA73
analogous
#AF42BA #BA4289 #BA424D
triadic
#BA4289 #89BA42 #4289BA
tetradic
#BA4289 #BAAF42 #42BA73 #424DBA
square
#BA4289 #BAAF42 #42BA73 #424DBA
split-complementary
#BA4289 #4DBA42 #42BAAF
monochromatic
#602246 #8D3268 #BA4289 #CB6EA5 #DB9BC1

Accessibility & contrast

On white

4.97
#BA4289 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#BA4289 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4289
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4289#FFFFFF#000000##FFFFFF
##BA42891.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50638B
Deuteranopia (green-blind)
#737786
Tritanopia (blue-blind)
#C63F60
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba4289;
/* rgb */ color: rgb(186, 66, 137);
/* oklch */ color: oklch(56.7% 0.171 347.4);
Tailwind
colors: {
  custom: {
    50: '#d27eab',
    500: '#ba4289',
    950: '#000000',
  },
}
SCSS
$custom: #ba4289;
$custom-light: #d27eab;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4289",
  "rgb": {
    "r": 186,
    "g": 66,
    "b": 137
  },
  "hsl": {
    "h": 324.5,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56706,
    "c": 0.17138,
    "h": 347.4
  },
  "luminance": 0.16142
}

Semantic roles & 50–950 ramp

primary
#BA4289
secondary
#90C8A7
accent
#D78851
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA4289

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

Preview Lab → · Contrast checker → · Palette generator →

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