#BA4B93#BA4B93

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

Color values

HEX#BA4B93
RGBrgb(186, 75, 147)
HSLhsl(321, 45%, 51%)
HSVhsv(321, 60%, 73%)
CMYKcmyk(0%, 59.7%, 21%, 27.1%)
CIE-LABlab(48.98, 52.72, -17.40)
CIE-LCHlch(48.98, 55.52, 341.74°)
OKLaboklab(58.17% 0.1578 -0.0463)
OKLCHoklch(58.17% 0.164 343.6)
XYZxyz(28.0330, 17.5804, 29.5151)
Luminance0.1758 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4B93 #4BBA72
analogous
#A94BBA #BA4B93 #BA4B5B
triadic
#BA4B93 #93BA4B #4B93BA
tetradic
#BA4B93 #BAA94B #4BBA72 #4B5BBA
square
#BA4B93 #BAA94B #4BBA72 #4B5BBA
split-complementary
#BA4B93 #5BBA4B #4BBAA9
monochromatic
#64264E #903771 #BA4B93 #CB77AE #DCA3C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA4B93#FFFFFF#000000##FFFFFF
##BA4B931.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546995
Deuteranopia (green-blind)
#747B90
Tritanopia (blue-blind)
#C54B68
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba4b93;
/* rgb */ color: rgb(186, 75, 147);
/* oklch */ color: oklch(58.2% 0.164 343.6);
Tailwind
colors: {
  custom: {
    50: '#d283b2',
    500: '#ba4b93',
    950: '#000000',
  },
}
SCSS
$custom: #ba4b93;
$custom-light: #d283b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4b93",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 147
  },
  "hsl": {
    "h": 321.081,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58173,
    "c": 0.16443,
    "h": 343.6
  },
  "luminance": 0.17578
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA4B93

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

Preview Lab → · Contrast checker → · Palette generator →

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