#BA4E9E#BA4E9E

#BA4E9E is a mid, vivid pink. Relative luminance 0.184; OKLCH L 59.0% C 0.167 H 338.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#BA4E9E
RGBrgb(186, 78, 158)
HSLhsl(316, 44%, 52%)
HSVhsv(316, 58%, 73%)
CMYKcmyk(0%, 58.1%, 15.1%, 27.1%)
CIE-LABlab(49.93, 53.00, -22.48)
CIE-LCHlch(49.93, 57.57, 337.01°)
OKLaboklab(59.01% 0.1561 -0.0606)
OKLCHoklch(59.01% 0.167 338.8)
XYZxyz(29.1461, 18.3589, 34.3497)
Luminance0.1836 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4E9E #4EBA6A
analogous
#A04EBA #BA4E9E #BA4E68
triadic
#BA4E9E #9EBA4E #4E9EBA
tetradic
#BA4E9E #BAA04E #4EBA6A #4E68BA
square
#BA4E9E #BAA04E #4EBA6A #4E68BA
split-complementary
#BA4E9E #68BA4E #4EBAA0
monochromatic
#662856 #92397B #BA4E9E #CB7AB6 #DCA6CE

Accessibility & contrast

On white

4.50
#BA4E9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#BA4E9E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4E9E
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4E9E#FFFFFF#000000##000000
##BA4E9E1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#526CA1
Deuteranopia (green-blind)
#727D9B
Tritanopia (blue-blind)
#C4516F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba4e9e;
/* rgb */ color: rgb(186, 78, 158);
/* oklch */ color: oklch(59.0% 0.167 338.8);
Tailwind
colors: {
  custom: {
    50: '#d185bb',
    500: '#ba4e9e',
    950: '#000000',
  },
}
SCSS
$custom: #ba4e9e;
$custom-light: #d185bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4e9e",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 158
  },
  "hsl": {
    "h": 315.556,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59014,
    "c": 0.16746,
    "h": 338.8
  },
  "luminance": 0.18357
}

Semantic roles & 50–950 ramp

primary
#BA4E9E
secondary
#9ACAA6
accent
#D47554
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA4E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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