#BA4E83#BA4E83

#BA4E83 is a mid, vivid pink. Relative luminance 0.175; OKLCH L 57.9% C 0.151 H 352.2°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#BA4E83
RGBrgb(186, 78, 131)
HSLhsl(331, 44%, 52%)
HSVhsv(331, 58%, 73%)
CMYKcmyk(0%, 58.1%, 29.6%, 27.1%)
CIE-LABlab(48.92, 49.15, -7.91)
CIE-LCHlch(48.92, 49.78, 350.86°)
OKLaboklab(57.94% 0.1492 -0.0204)
OKLCHoklch(57.94% 0.151 352.2)
XYZxyz(27.0720, 17.5292, 23.4261)
Luminance0.1753 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4E83 #4EBA85
analogous
#BA4EB9 #BA4E83 #BA4F4E
triadic
#BA4E83 #83BA4E #4E83BA
tetradic
#BA4E83 #B9BA4E #4EBA85 #4F4EBA
square
#BA4E83 #B9BA4E #4EBA85 #4F4EBA
split-complementary
#BA4E83 #4EBA4F #4EB9BA
monochromatic
#662846 #923965 #BA4E83 #CB7AA2 #DCA6C1

Accessibility & contrast

On white

4.66
#BA4E83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA4E83
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4E83#FFFFFF#000000##FFFFFF
##BA4E831.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6885
Deuteranopia (green-blind)
#7A7B80
Tritanopia (blue-blind)
#C74963
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba4e83;
/* rgb */ color: rgb(186, 78, 131);
/* oklch */ color: oklch(57.9% 0.151 352.2);
Tailwind
colors: {
  custom: {
    50: '#d284a7',
    500: '#ba4e83',
    950: '#000000',
  },
}
SCSS
$custom: #ba4e83;
$custom-light: #d284a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4e83",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 131
  },
  "hsl": {
    "h": 330.556,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57936,
    "c": 0.15054,
    "h": 352.2
  },
  "luminance": 0.17527
}

Semantic roles & 50–950 ramp

primary
#BA4E83
secondary
#9ACAB2
accent
#D49554
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B0F
muted
#837C7F

Preview Lab

Preview with #BA4E83

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

Preview Lab → · Contrast checker → · Palette generator →

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