#BA4E93#BA4E93

#BA4E93 is a mid, vivid pink. Relative luminance 0.180; OKLCH L 58.5% C 0.160 H 344.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#BA4E93
RGBrgb(186, 78, 147)
HSLhsl(322, 44%, 52%)
HSVhsv(322, 58%, 73%)
CMYKcmyk(0%, 58.1%, 21%, 27.1%)
CIE-LABlab(49.49, 51.35, -16.62)
CIE-LCHlch(49.49, 53.97, 342.07°)
OKLaboklab(58.55% 0.1536 -0.0442)
OKLCHoklch(58.55% 0.16 344)
XYZxyz(28.2413, 17.9970, 29.5845)
Luminance0.1799 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4E93 #4EBA75
analogous
#AB4EBA #BA4E93 #BA4E5D
triadic
#BA4E93 #93BA4E #4E93BA
tetradic
#BA4E93 #BAAB4E #4EBA75 #4E5DBA
square
#BA4E93 #BAAB4E #4EBA75 #4E5DBA
split-complementary
#BA4E93 #5DBA4E #4EBAAB
monochromatic
#66284F #923972 #BA4E93 #CB7AAE #DCA6C9

Accessibility & contrast

On white

4.57
#BA4E93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#BA4E93 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4E93
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4E93#FFFFFF#000000##000000
##BA4E931.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#576A95
Deuteranopia (green-blind)
#757C90
Tritanopia (blue-blind)
#C54E6A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba4e93;
/* rgb */ color: rgb(186, 78, 147);
/* oklch */ color: oklch(58.5% 0.160 344.0);
Tailwind
colors: {
  custom: {
    50: '#d285b2',
    500: '#ba4e93',
    950: '#000000',
  },
}
SCSS
$custom: #ba4e93;
$custom-light: #d285b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4e93",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 147
  },
  "hsl": {
    "h": 321.667,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58549,
    "c": 0.15985,
    "h": 344
  },
  "luminance": 0.17994
}

Semantic roles & 50–950 ramp

primary
#BA4E93
secondary
#9ACAAB
accent
#D48254
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA4E93

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

Preview Lab → · Contrast checker → · Palette generator →

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