#BA4189#BA4189

#BA4189 is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.6% C 0.173 H 347.3°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#BA4189
RGBrgb(186, 65, 137)
HSLhsl(324, 48%, 49%)
HSVhsv(324, 65%, 73%)
CMYKcmyk(0%, 65.1%, 26.3%, 27.1%)
CIE-LABlab(47.01, 55.68, -14.40)
CIE-LCHlch(47.01, 57.51, 345.50°)
OKLaboklab(56.6% 0.1686 -0.0379)
OKLCHoklch(56.6% 0.173 347.3)
XYZxyz(26.6564, 16.0285, 25.3520)
Luminance0.1603 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4189 #41BA72
analogous
#AF41BA #BA4189 #BA414C
triadic
#BA4189 #89BA41 #4189BA
tetradic
#BA4189 #BAAF41 #41BA72 #414CBA
square
#BA4189 #BAAF41 #41BA72 #414CBA
split-complementary
#BA4189 #4CBA41 #41BAAF
monochromatic
#5F2146 #8D3168 #BA4189 #CC6CA5 #DC9AC1

Accessibility & contrast

On white

4.99
#BA4189 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#BA4189 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4189
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4189#FFFFFF#000000##FFFFFF
##BA41891.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F628B
Deuteranopia (green-blind)
#727786
Tritanopia (blue-blind)
#C63E5F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba4189;
/* rgb */ color: rgb(186, 65, 137);
/* oklch */ color: oklch(56.6% 0.173 347.3);
Tailwind
colors: {
  custom: {
    50: '#d27dab',
    500: '#ba4189',
    950: '#000000',
  },
}
SCSS
$custom: #ba4189;
$custom-light: #d27dab;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4189",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 137
  },
  "hsl": {
    "h": 324.298,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56595,
    "c": 0.17278,
    "h": 347.3
  },
  "luminance": 0.16026
}

Semantic roles & 50–950 ramp

primary
#BA4189
secondary
#8FC8A6
accent
#D88750
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA4189

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

Preview Lab → · Contrast checker → · Palette generator →

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