#BA4E97#BA4E97

#BA4E97 is a mid, vivid pink. Relative luminance 0.181; OKLCH L 58.7% C 0.163 H 342.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#BA4E97
RGBrgb(186, 78, 151)
HSLhsl(319, 44%, 52%)
HSVhsv(319, 58%, 73%)
CMYKcmyk(0%, 58.1%, 18.8%, 27.1%)
CIE-LABlab(49.65, 51.94, -18.76)
CIE-LCHlch(49.65, 55.22, 340.14°)
OKLaboklab(58.71% 0.1546 -0.0501)
OKLCHoklch(58.71% 0.163 342)
XYZxyz(28.5607, 18.1247, 31.2664)
Luminance0.1812 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4E97 #4EBA71
analogous
#A74EBA #BA4E97 #BA4E61
triadic
#BA4E97 #97BA4E #4E97BA
tetradic
#BA4E97 #BAA74E #4EBA71 #4E61BA
square
#BA4E97 #BAA74E #4EBA71 #4E61BA
split-complementary
#BA4E97 #61BA4E #4EBAA7
monochromatic
#662852 #923975 #BA4E97 #CB7AB1 #DCA6CB

Accessibility & contrast

On white

4.54
#BA4E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#BA4E97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4E97
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4E97#FFFFFF#000000##000000
##BA4E971.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#556B99
Deuteranopia (green-blind)
#747D94
Tritanopia (blue-blind)
#C54F6C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba4e97;
/* rgb */ color: rgb(186, 78, 151);
/* oklch */ color: oklch(58.7% 0.163 342.0);
Tailwind
colors: {
  custom: {
    50: '#d285b5',
    500: '#ba4e97',
    950: '#000000',
  },
}
SCSS
$custom: #ba4e97;
$custom-light: #d285b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4e97",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 151
  },
  "hsl": {
    "h": 319.444,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58714,
    "c": 0.16251,
    "h": 342
  },
  "luminance": 0.18122
}

Semantic roles & 50–950 ramp

primary
#BA4E97
secondary
#9ACAAA
accent
#D47D54
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA4E97

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

Preview Lab → · Contrast checker → · Palette generator →

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