#BA4990#BA4990

#BA4990 is a mid, vivid pink. Relative luminance 0.172; OKLCH L 57.8% C 0.166 H 344.9°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#BA4990
RGBrgb(186, 73, 144)
HSLhsl(322, 45%, 51%)
HSVhsv(322, 61%, 73%)
CMYKcmyk(0%, 60.8%, 22.6%, 27.1%)
CIE-LABlab(48.54, 53.19, -16.29)
CIE-LCHlch(48.54, 55.63, 342.98°)
OKLaboklab(57.8% 0.1598 -0.0432)
OKLCHoklch(57.8% 0.166 344.9)
XYZxyz(27.6672, 17.2204, 28.2469)
Luminance0.1722 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4990 #49BA73
analogous
#AB49BA #BA4990 #BA4957
triadic
#BA4990 #90BA49 #4990BA
tetradic
#BA4990 #BAAB49 #49BA73 #4957BA
square
#BA4990 #BAAB49 #49BA73 #4957BA
split-complementary
#BA4990 #57BA49 #49BAAB
monochromatic
#63264C #8F366E #BA4990 #CB75AB #DCA2C6

Accessibility & contrast

On white

4.73
#BA4990 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#BA4990 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4990
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4990#FFFFFF#000000##FFFFFF
##BA49901.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546792
Deuteranopia (green-blind)
#747A8D
Tritanopia (blue-blind)
#C54866
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba4990;
/* rgb */ color: rgb(186, 73, 144);
/* oklch */ color: oklch(57.8% 0.166 344.9);
Tailwind
colors: {
  custom: {
    50: '#d282b0',
    500: '#ba4990',
    950: '#000000',
  },
}
SCSS
$custom: #ba4990;
$custom-light: #d282b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4990",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 144
  },
  "hsl": {
    "h": 322.301,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57805,
    "c": 0.16551,
    "h": 344.9
  },
  "luminance": 0.17218
}

Semantic roles & 50–950 ramp

primary
#BA4990
secondary
#96C8A9
accent
#D58353
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #BA4990

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

Preview Lab → · Contrast checker → · Palette generator →

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