#BA4591#BA4591

#BA4591 is a mid, vivid pink. Relative luminance 0.167; OKLCH L 57.4% C 0.172 H 344.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#BA4591
RGBrgb(186, 69, 145)
HSLhsl(321, 46%, 50%)
HSVhsv(321, 63%, 73%)
CMYKcmyk(0%, 62.9%, 22%, 27.1%)
CIE-LABlab(47.93, 55.08, -17.80)
CIE-LCHlch(47.93, 57.89, 342.09°)
OKLaboklab(57.37% 0.1653 -0.0474)
OKLCHoklch(57.37% 0.172 344)
XYZxyz(27.4895, 16.7423, 28.5664)
Luminance0.1674 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4591 #45BA6E
analogous
#A945BA #BA4591 #BA4556
triadic
#BA4591 #91BA45 #4591BA
tetradic
#BA4591 #BAA945 #45BA6E #4556BA
square
#BA4591 #BAA945 #45BA6E #4556BA
split-complementary
#BA4591 #56BA45 #45BAA9
monochromatic
#61244B #8D346E #BA4591 #CB72AB #DB9EC6

Accessibility & contrast

On white

4.83
#BA4591 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#BA4591 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4591
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4591#FFFFFF#000000##FFFFFF
##BA45911.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506593
Deuteranopia (green-blind)
#72798E
Tritanopia (blue-blind)
#C54565
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba4591;
/* rgb */ color: rgb(186, 69, 145);
/* oklch */ color: oklch(57.4% 0.172 344.0);
Tailwind
colors: {
  custom: {
    50: '#d280b1',
    500: '#ba4591',
    950: '#000000',
  },
}
SCSS
$custom: #ba4591;
$custom-light: #d280b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4591",
  "rgb": {
    "r": 186,
    "g": 69,
    "b": 145
  },
  "hsl": {
    "h": 321.026,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.57374,
    "c": 0.17198,
    "h": 344
  },
  "luminance": 0.1674
}

Semantic roles & 50–950 ramp

primary
#BA4591
secondary
#93C8A6
accent
#D68052
background
#FDF8FA
surface
#FAEFF5
border
#D3CACF
text
#140B10
muted
#837C7F

Preview Lab

Preview with #BA4591

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

Preview Lab → · Contrast checker → · Palette generator →

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