#BA4597#BA4597

#BA4597 is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.6% C 0.176 H 341.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#BA4597
RGBrgb(186, 69, 151)
HSLhsl(318, 46%, 50%)
HSVhsv(318, 63%, 73%)
CMYKcmyk(0%, 62.9%, 18.8%, 27.1%)
CIE-LABlab(48.17, 55.94, -21.02)
CIE-LCHlch(48.17, 59.76, 339.40°)
OKLaboklab(57.63% 0.1666 -0.0564)
OKLCHoklch(57.63% 0.176 341.3)
XYZxyz(27.9644, 16.9322, 31.0676)
Luminance0.1693 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4597 #45BA68
analogous
#A345BA #BA4597 #BA455C
triadic
#BA4597 #97BA45 #4597BA
tetradic
#BA4597 #BAA345 #45BA68 #455CBA
square
#BA4597 #BAA345 #45BA68 #455CBA
split-complementary
#BA4597 #5CBA45 #45BAA3
monochromatic
#61244F #8D3473 #BA4597 #CB72B0 #DB9EC9

Accessibility & contrast

On white

4.79
#BA4597 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#BA4597 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4597
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4597#FFFFFF#000000##FFFFFF
##BA45971.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6699
Deuteranopia (green-blind)
#707994
Tritanopia (blue-blind)
#C54768
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba4597;
/* rgb */ color: rgb(186, 69, 151);
/* oklch */ color: oklch(57.6% 0.176 341.3);
Tailwind
colors: {
  custom: {
    50: '#d280b5',
    500: '#ba4597',
    950: '#000000',
  },
}
SCSS
$custom: #ba4597;
$custom-light: #d280b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4597",
  "rgb": {
    "r": 186,
    "g": 69,
    "b": 151
  },
  "hsl": {
    "h": 317.949,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.5763,
    "c": 0.17591,
    "h": 341.3
  },
  "luminance": 0.1693
}

Semantic roles & 50–950 ramp

primary
#BA4597
secondary
#93C8A3
accent
#D67A52
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA4597

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

Preview Lab → · Contrast checker → · Palette generator →

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