#BA4C8E#BA4C8E

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

Color values

HEX#BA4C8E
RGBrgb(186, 76, 142)
HSLhsl(324, 44%, 51%)
HSVhsv(324, 59%, 73%)
CMYKcmyk(0%, 59.1%, 23.7%, 27.1%)
CIE-LABlab(48.96, 51.56, -14.44)
CIE-LCHlch(48.96, 53.54, 344.35°)
OKLaboklab(58.1% 0.1551 -0.0382)
OKLCHoklch(58.1% 0.16 346.2)
XYZxyz(27.7175, 17.5635, 27.5163)
Luminance0.1756 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4C8E #4CBA78
analogous
#AF4CBA #BA4C8E #BA4C57
triadic
#BA4C8E #8EBA4C #4C8EBA
tetradic
#BA4C8E #BAAF4C #4CBA78 #4C57BA
square
#BA4C8E #BAAF4C #4CBA78 #4C57BA
split-complementary
#BA4C8E #57BA4C #4CBAAF
monochromatic
#65274C #91386D #BA4C8E #CB78AA #DCA4C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA4C8E#FFFFFF#000000##FFFFFF
##BA4C8E1.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)
#576990
Deuteranopia (green-blind)
#767B8B
Tritanopia (blue-blind)
#C64A67
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba4c8e;
/* rgb */ color: rgb(186, 76, 142);
/* oklch */ color: oklch(58.1% 0.160 346.2);
Tailwind
colors: {
  custom: {
    50: '#d284af',
    500: '#ba4c8e',
    950: '#000000',
  },
}
SCSS
$custom: #ba4c8e;
$custom-light: #d284af;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4c8e",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 142
  },
  "hsl": {
    "h": 324,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58095,
    "c": 0.15975,
    "h": 346.2
  },
  "luminance": 0.17561
}

Semantic roles & 50–950 ramp

primary
#BA4C8E
secondary
#99C9AC
accent
#D48754
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #BA4C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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