#BA4A97#BA4A97

#BA4A97 is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.2% C 0.169 H 341.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#BA4A97
RGBrgb(186, 74, 151)
HSLhsl(319, 45%, 51%)
HSVhsv(319, 60%, 73%)
CMYKcmyk(0%, 60.2%, 18.8%, 27.1%)
CIE-LABlab(48.97, 53.75, -19.79)
CIE-LCHlch(48.97, 57.28, 339.79°)
OKLaboklab(58.22% 0.1601 -0.053)
OKLCHoklch(58.22% 0.169 341.7)
XYZxyz(28.2851, 17.5735, 31.1745)
Luminance0.1757 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4A97 #4ABA6D
analogous
#A54ABA #BA4A97 #BA4A5F
triadic
#BA4A97 #97BA4A #4A97BA
tetradic
#BA4A97 #BAA54A #4ABA6D #4A5FBA
square
#BA4A97 #BAA54A #4ABA6D #4A5FBA
split-complementary
#BA4A97 #5FBA4A #4ABAA5
monochromatic
#642650 #903774 #BA4A97 #CB76B0 #DCA3CA

Accessibility & contrast

On white

4.65
#BA4A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#BA4A97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4A97
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4A97#FFFFFF#000000##FFFFFF
##BA4A971.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526999
Deuteranopia (green-blind)
#727B94
Tritanopia (blue-blind)
#C54B6A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba4a97;
/* rgb */ color: rgb(186, 74, 151);
/* oklch */ color: oklch(58.2% 0.169 341.7);
Tailwind
colors: {
  custom: {
    50: '#d283b5',
    500: '#ba4a97',
    950: '#000000',
  },
}
SCSS
$custom: #ba4a97;
$custom-light: #d283b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4a97",
  "rgb": {
    "r": 186,
    "g": 74,
    "b": 151
  },
  "hsl": {
    "h": 318.75,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58218,
    "c": 0.16859,
    "h": 341.7
  },
  "luminance": 0.17571
}

Semantic roles & 50–950 ramp

primary
#BA4A97
secondary
#97C9A7
accent
#D57C53
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA4A97

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

Preview Lab → · Contrast checker → · Palette generator →

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