#BA4E81#BA4E81

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

Color values

HEX#BA4E81
RGBrgb(186, 78, 129)
HSLhsl(332, 44%, 52%)
HSVhsv(332, 58%, 73%)
CMYKcmyk(0%, 58.1%, 30.6%, 27.1%)
CIE-LABlab(48.85, 48.89, -6.81)
CIE-LCHlch(48.85, 49.36, 352.07°)
OKLaboklab(57.87% 0.1485 -0.0174)
OKLCHoklch(57.87% 0.15 353.3)
XYZxyz(26.9378, 17.4755, 22.7191)
Luminance0.1747 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4E81 #4EBA87
analogous
#BA4EB7 #BA4E81 #BA514E
triadic
#BA4E81 #81BA4E #4E81BA
tetradic
#BA4E81 #B7BA4E #4EBA87 #514EBA
square
#BA4E81 #B7BA4E #4EBA87 #514EBA
split-complementary
#BA4E81 #4EBA51 #4EB7BA
monochromatic
#662845 #923963 #BA4E81 #CB7AA0 #DCA6C0

Accessibility & contrast

On white

4.67
#BA4E81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#BA4E81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4E81
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4E81#FFFFFF#000000##FFFFFF
##BA4E811.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6883
Deuteranopia (green-blind)
#7A7B7E
Tritanopia (blue-blind)
#C74862
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba4e81;
/* rgb */ color: rgb(186, 78, 129);
/* oklch */ color: oklch(57.9% 0.150 353.3);
Tailwind
colors: {
  custom: {
    50: '#d284a5',
    500: '#ba4e81',
    950: '#000000',
  },
}
SCSS
$custom: #ba4e81;
$custom-light: #d284a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4e81",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 129
  },
  "hsl": {
    "h": 331.667,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57865,
    "c": 0.14956,
    "h": 353.3
  },
  "luminance": 0.17473
}

Semantic roles & 50–950 ramp

primary
#BA4E81
secondary
#9ACAB3
accent
#D49754
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B0F
muted
#837C7F

Preview Lab

Preview with #BA4E81

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

Preview Lab → · Contrast checker → · Palette generator →

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