#BA459A#BA459A

#BA459A is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.8% C 0.178 H 340.0°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#BA459A
RGBrgb(186, 69, 154)
HSLhsl(316, 46%, 50%)
HSVhsv(316, 63%, 73%)
CMYKcmyk(0%, 62.9%, 17.2%, 27.1%)
CIE-LABlab(48.30, 56.38, -22.62)
CIE-LCHlch(48.30, 60.74, 338.14°)
OKLaboklab(57.76% 0.1672 -0.0609)
OKLCHoklch(57.76% 0.178 340)
XYZxyz(28.2112, 17.0309, 32.3671)
Luminance0.1703 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA459A #45BA65
analogous
#9F45BA #BA459A #BA4560
triadic
#BA459A #9ABA45 #459ABA
tetradic
#BA459A #BA9F45 #45BA65 #4560BA
square
#BA459A #BA9F45 #45BA65 #4560BA
split-complementary
#BA459A #60BA45 #45BA9F
monochromatic
#612450 #8D3475 #BA459A #CB72B2 #DB9ECA

Accessibility & contrast

On white

4.77
#BA459A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#BA459A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA459A
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA459A#FFFFFF#000000##FFFFFF
##BA459A1.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B679D
Deuteranopia (green-blind)
#6F7997
Tritanopia (blue-blind)
#C44869
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba459a;
/* rgb */ color: rgb(186, 69, 154);
/* oklch */ color: oklch(57.8% 0.178 340.0);
Tailwind
colors: {
  custom: {
    50: '#d280b8',
    500: '#ba459a',
    950: '#000000',
  },
}
SCSS
$custom: #ba459a;
$custom-light: #d280b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba459a",
  "rgb": {
    "r": 186,
    "g": 69,
    "b": 154
  },
  "hsl": {
    "h": 316.41,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.57762,
    "c": 0.17796,
    "h": 340
  },
  "luminance": 0.17028
}

Semantic roles & 50–950 ramp

primary
#BA459A
secondary
#93C8A2
accent
#D67652
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA459A

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

Preview Lab → · Contrast checker → · Palette generator →

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