#BA4B94#BA4B94

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

Color values

HEX#BA4B94
RGBrgb(186, 75, 148)
HSLhsl(321, 45%, 51%)
HSVhsv(321, 60%, 73%)
CMYKcmyk(0%, 59.7%, 20.4%, 27.1%)
CIE-LABlab(49.02, 52.87, -17.93)
CIE-LCHlch(49.02, 55.83, 341.26°)
OKLaboklab(58.21% 0.158 -0.0478)
OKLCHoklch(58.21% 0.165 343.2)
XYZxyz(28.1118, 17.6119, 29.9301)
Luminance0.1761 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4B94 #4BBA71
analogous
#A84BBA #BA4B94 #BA4B5C
triadic
#BA4B94 #94BA4B #4B94BA
tetradic
#BA4B94 #BAA84B #4BBA71 #4B5CBA
square
#BA4B94 #BAA84B #4BBA71 #4B5CBA
split-complementary
#BA4B94 #5CBA4B #4BBAA8
monochromatic
#64264F #903772 #BA4B94 #CB77AE #DCA3C9

Accessibility & contrast

On white

4.64
#BA4B94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#BA4B94 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4B94
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4B94#FFFFFF#000000##FFFFFF
##BA4B941.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546996
Deuteranopia (green-blind)
#747B91
Tritanopia (blue-blind)
#C54B69
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba4b94;
/* rgb */ color: rgb(186, 75, 148);
/* oklch */ color: oklch(58.2% 0.165 343.2);
Tailwind
colors: {
  custom: {
    50: '#d283b3',
    500: '#ba4b94',
    950: '#000000',
  },
}
SCSS
$custom: #ba4b94;
$custom-light: #d283b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4b94",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 148
  },
  "hsl": {
    "h": 320.541,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58214,
    "c": 0.16508,
    "h": 343.2
  },
  "luminance": 0.17609
}

Semantic roles & 50–950 ramp

primary
#BA4B94
secondary
#98C9A9
accent
#D48054
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA4B94

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

Preview Lab → · Contrast checker → · Palette generator →

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