#BA459B#BA459B

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

Color values

HEX#BA459B
RGBrgb(186, 69, 155)
HSLhsl(316, 46%, 50%)
HSVhsv(316, 63%, 73%)
CMYKcmyk(0%, 62.9%, 16.7%, 27.1%)
CIE-LABlab(48.34, 56.52, -23.15)
CIE-LCHlch(48.34, 61.08, 337.73°)
OKLaboklab(57.81% 0.1674 -0.0624)
OKLCHoklch(57.81% 0.179 339.6)
XYZxyz(28.2948, 17.0644, 32.8075)
Luminance0.1706 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA459B #45BA64
analogous
#9E45BA #BA459B #BA4561
triadic
#BA459B #9BBA45 #459BBA
tetradic
#BA459B #BA9E45 #45BA64 #4561BA
square
#BA459B #BA9E45 #45BA64 #4561BA
split-complementary
#BA459B #61BA45 #45BA9E
monochromatic
#612451 #8D3476 #BA459B #CB72B3 #DB9ECB

Accessibility & contrast

On white

4.76
#BA459B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA459B
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA459B#FFFFFF#000000##FFFFFF
##BA459B1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B679E
Deuteranopia (green-blind)
#6E7A98
Tritanopia (blue-blind)
#C4486A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba459b;
/* rgb */ color: rgb(186, 69, 155);
/* oklch */ color: oklch(57.8% 0.179 339.6);
Tailwind
colors: {
  custom: {
    50: '#d280b8',
    500: '#ba459b',
    950: '#000000',
  },
}
SCSS
$custom: #ba459b;
$custom-light: #d280b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba459b",
  "rgb": {
    "r": 186,
    "g": 69,
    "b": 155
  },
  "hsl": {
    "h": 315.897,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.57806,
    "c": 0.17866,
    "h": 339.6
  },
  "luminance": 0.17062
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA459B

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

Preview Lab → · Contrast checker → · Palette generator →

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