#BA4E8C#BA4E8C

#BA4E8C is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.3% C 0.155 H 347.5°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#BA4E8C
RGBrgb(186, 78, 140)
HSLhsl(326, 44%, 52%)
HSVhsv(326, 58%, 73%)
CMYKcmyk(0%, 58.1%, 24.7%, 27.1%)
CIE-LABlab(49.23, 50.36, -12.84)
CIE-LCHlch(49.23, 51.97, 345.70°)
OKLaboklab(58.27% 0.1518 -0.0337)
OKLCHoklch(58.27% 0.155 347.5)
XYZxyz(27.7087, 17.7839, 26.7792)
Luminance0.1778 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4E8C #4EBA7C
analogous
#B24EBA #BA4E8C #BA4E56
triadic
#BA4E8C #8CBA4E #4E8CBA
tetradic
#BA4E8C #BAB24E #4EBA7C #4E56BA
square
#BA4E8C #BAB24E #4EBA7C #4E56BA
split-complementary
#BA4E8C #56BA4E #4EBAB2
monochromatic
#66284B #92396C #BA4E8C #CB7AA9 #DCA6C5

Accessibility & contrast

On white

4.61
#BA4E8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#BA4E8C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4E8C
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4E8C#FFFFFF#000000##FFFFFF
##BA4E8C1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A698E
Deuteranopia (green-blind)
#787C89
Tritanopia (blue-blind)
#C64B67
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba4e8c;
/* rgb */ color: rgb(186, 78, 140);
/* oklch */ color: oklch(58.3% 0.155 347.5);
Tailwind
colors: {
  custom: {
    50: '#d285ad',
    500: '#ba4e8c',
    950: '#000000',
  },
}
SCSS
$custom: #ba4e8c;
$custom-light: #d285ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4e8c",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 140
  },
  "hsl": {
    "h": 325.556,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58272,
    "c": 0.15549,
    "h": 347.5
  },
  "luminance": 0.17781
}

Semantic roles & 50–950 ramp

primary
#BA4E8C
secondary
#9ACAAE
accent
#D48A54
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #BA4E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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