#BA4E99#BA4E99

#BA4E99 is a mid, vivid pink. Relative luminance 0.182; OKLCH L 58.8% C 0.164 H 341.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#BA4E99
RGBrgb(186, 78, 153)
HSLhsl(318, 44%, 52%)
HSVhsv(318, 58%, 73%)
CMYKcmyk(0%, 58.1%, 17.7%, 27.1%)
CIE-LABlab(49.73, 52.24, -19.83)
CIE-LCHlch(49.73, 55.87, 339.21°)
OKLaboklab(58.8% 0.155 -0.0531)
OKLCHoklch(58.8% 0.164 341.1)
XYZxyz(28.7245, 18.1902, 32.1290)
Luminance0.1819 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4E99 #4EBA6F
analogous
#A54EBA #BA4E99 #BA4E63
triadic
#BA4E99 #99BA4E #4E99BA
tetradic
#BA4E99 #BAA54E #4EBA6F #4E63BA
square
#BA4E99 #BAA54E #4EBA6F #4E63BA
split-complementary
#BA4E99 #63BA4E #4EBAA5
monochromatic
#662853 #923977 #BA4E99 #CB7AB2 #DCA6CC

Accessibility & contrast

On white

4.53
#BA4E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#BA4E99 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4E99
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4E99#FFFFFF#000000##000000
##BA4E991.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#546B9B
Deuteranopia (green-blind)
#747D96
Tritanopia (blue-blind)
#C4506D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba4e99;
/* rgb */ color: rgb(186, 78, 153);
/* oklch */ color: oklch(58.8% 0.164 341.1);
Tailwind
colors: {
  custom: {
    50: '#d285b7',
    500: '#ba4e99',
    950: '#000000',
  },
}
SCSS
$custom: #ba4e99;
$custom-light: #d285b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4e99",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 153
  },
  "hsl": {
    "h": 318.333,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58798,
    "c": 0.16389,
    "h": 341.1
  },
  "luminance": 0.18188
}

Semantic roles & 50–950 ramp

primary
#BA4E99
secondary
#9ACAA9
accent
#D47B54
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA4E99

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

Preview Lab → · Contrast checker → · Palette generator →

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