#BA459C#BA459C

#BA459C is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.9% C 0.179 H 339.1°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#BA459C
RGBrgb(186, 69, 156)
HSLhsl(315, 46%, 50%)
HSVhsv(315, 63%, 73%)
CMYKcmyk(0%, 62.9%, 16.1%, 27.1%)
CIE-LABlab(48.38, 56.67, -23.68)
CIE-LCHlch(48.38, 61.42, 337.32°)
OKLaboklab(57.85% 0.1676 -0.0638)
OKLCHoklch(57.85% 0.179 339.1)
XYZxyz(28.3791, 17.0981, 33.2517)
Luminance0.1710 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA459C #45BA63
analogous
#9E45BA #BA459C #BA4561
triadic
#BA459C #9CBA45 #459CBA
tetradic
#BA459C #BA9E45 #45BA63 #4561BA
square
#BA459C #BA9E45 #45BA63 #4561BA
split-complementary
#BA459C #61BA45 #45BA9E
monochromatic
#612451 #8D3477 #BA459C #CB72B4 #DB9ECC

Accessibility & contrast

On white

4.75
#BA459C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#BA459C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA459C
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA459C#FFFFFF#000000##FFFFFF
##BA459C1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A679F
Deuteranopia (green-blind)
#6E7A99
Tritanopia (blue-blind)
#C4496A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba459c;
/* rgb */ color: rgb(186, 69, 156);
/* oklch */ color: oklch(57.9% 0.179 339.1);
Tailwind
colors: {
  custom: {
    50: '#d280b9',
    500: '#ba459c',
    950: '#000000',
  },
}
SCSS
$custom: #ba459c;
$custom-light: #d280b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba459c",
  "rgb": {
    "r": 186,
    "g": 69,
    "b": 156
  },
  "hsl": {
    "h": 315.385,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.57851,
    "c": 0.17936,
    "h": 339.1
  },
  "luminance": 0.17096
}

Semantic roles & 50–950 ramp

primary
#BA459C
secondary
#93C8A1
accent
#D67452
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA459C

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

Preview Lab → · Contrast checker → · Palette generator →

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