#BA4EA0#BA4EA0

#BA4EA0 is a mid, vivid pink. Relative luminance 0.184; OKLCH L 59.1% C 0.169 H 337.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#BA4EA0
RGBrgb(186, 78, 160)
HSLhsl(314, 44%, 52%)
HSVhsv(314, 58%, 73%)
CMYKcmyk(0%, 58.1%, 14%, 27.1%)
CIE-LABlab(50.01, 53.31, -23.53)
CIE-LCHlch(50.01, 58.27, 336.18°)
OKLaboklab(59.1% 0.1565 -0.0635)
OKLCHoklch(59.1% 0.169 337.9)
XYZxyz(29.3196, 18.4283, 35.2637)
Luminance0.1843 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4EA0 #4EBA68
analogous
#9E4EBA #BA4EA0 #BA4E6A
triadic
#BA4EA0 #A0BA4E #4EA0BA
tetradic
#BA4EA0 #BA9E4E #4EBA68 #4E6ABA
square
#BA4EA0 #BA9E4E #4EBA68 #4E6ABA
split-complementary
#BA4EA0 #6ABA4E #4EBA9E
monochromatic
#662857 #92397C #BA4EA0 #CB7AB8 #DCA6CF

Accessibility & contrast

On white

4.48
#BA4EA0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#BA4EA0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4EA0
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4EA0#FFFFFF#000000##000000
##BA4EA01.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#516CA3
Deuteranopia (green-blind)
#717D9D
Tritanopia (blue-blind)
#C35270
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba4ea0;
/* rgb */ color: rgb(186, 78, 160);
/* oklch */ color: oklch(59.1% 0.169 337.9);
Tailwind
colors: {
  custom: {
    50: '#d185bc',
    500: '#ba4ea0',
    950: '#000000',
  },
}
SCSS
$custom: #ba4ea0;
$custom-light: #d185bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4ea0",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 160
  },
  "hsl": {
    "h": 314.444,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59103,
    "c": 0.16893,
    "h": 337.9
  },
  "luminance": 0.18426
}

Semantic roles & 50–950 ramp

primary
#BA4EA0
secondary
#9ACAA6
accent
#D47354
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BA4EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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