#BA4E91#BA4E91

#BA4E91 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.5% C 0.159 H 344.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#BA4E91
RGBrgb(186, 78, 145)
HSLhsl(323, 44%, 52%)
HSVhsv(323, 58%, 73%)
CMYKcmyk(0%, 58.1%, 22%, 27.1%)
CIE-LABlab(49.42, 51.06, -15.54)
CIE-LCHlch(49.42, 53.38, 343.07°)
OKLaboklab(58.47% 0.1531 -0.0412)
OKLCHoklch(58.47% 0.159 344.9)
XYZxyz(28.0857, 17.9347, 28.7651)
Luminance0.1793 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4E91 #4EBA77
analogous
#AD4EBA #BA4E91 #BA4E5B
triadic
#BA4E91 #91BA4E #4E91BA
tetradic
#BA4E91 #BAAD4E #4EBA77 #4E5BBA
square
#BA4E91 #BAAD4E #4EBA77 #4E5BBA
split-complementary
#BA4E91 #5BBA4E #4EBAAD
monochromatic
#66284E #923970 #BA4E91 #CB7AAC #DCA6C8

Accessibility & contrast

On white

4.58
#BA4E91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#BA4E91 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4E91
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4E91#FFFFFF#000000##000000
##BA4E911.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#586A93
Deuteranopia (green-blind)
#767C8E
Tritanopia (blue-blind)
#C54D69
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba4e91;
/* rgb */ color: rgb(186, 78, 145);
/* oklch */ color: oklch(58.5% 0.159 344.9);
Tailwind
colors: {
  custom: {
    50: '#d285b1',
    500: '#ba4e91',
    950: '#000000',
  },
}
SCSS
$custom: #ba4e91;
$custom-light: #d285b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4e91",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 145
  },
  "hsl": {
    "h": 322.778,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58468,
    "c": 0.15856,
    "h": 344.9
  },
  "luminance": 0.17932
}

Semantic roles & 50–950 ramp

primary
#BA4E91
secondary
#9ACAAC
accent
#D48554
background
#FDF8FA
surface
#FAF0F5
border
#D3CBCF
text
#140B10
muted
#837C7F

Preview Lab

Preview with #BA4E91

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

Preview Lab → · Contrast checker → · Palette generator →

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