#BA326C#BA326C

#BA326C is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.0% C 0.178 H 359.2°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#BA326C
RGBrgb(186, 50, 108)
HSLhsl(334, 58%, 46%)
HSVhsv(334, 73%, 73%)
CMYKcmyk(0%, 73.1%, 41.9%, 27.1%)
CIE-LABlab(43.95, 58.04, -1.24)
CIE-LCHlch(43.95, 58.06, 358.78°)
OKLaboklab(54.02% 0.1781 -0.0026)
OKLCHoklch(54.02% 0.178 359.2)
XYZxyz(24.0988, 13.8061, 15.5803)
Luminance0.1380 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA326C #32BA80
analogous
#BA32B0 #BA326C #BA3C32
triadic
#BA326C #6CBA32 #326CBA
tetradic
#BA326C #B0BA32 #32BA80 #3C32BA
square
#BA326C #B0BA32 #32BA80 #3C32BA
split-complementary
#BA326C #32BA3C #32B0BA
monochromatic
#5A1834 #8A2550 #BA326C #D2578C #DF88AD

Accessibility & contrast

On white

5.58
#BA326C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#BA326C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA326C
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA326C#FFFFFF#000000##FFFFFF
##BA326C1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F576D
Deuteranopia (green-blind)
#747169
Tritanopia (blue-blind)
#C91E4B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba326c;
/* rgb */ color: rgb(186, 50, 108);
/* oklch */ color: oklch(54.0% 0.178 359.2);
Tailwind
colors: {
  custom: {
    50: '#d47596',
    500: '#ba326c',
    950: '#000000',
  },
}
SCSS
$custom: #ba326c;
$custom-light: #d47596;
$custom-dark: #000000;
JSON
{
  "hex": "#ba326c",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 108
  },
  "hsl": {
    "h": 334.412,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54018,
    "c": 0.17813,
    "h": 359.2
  },
  "luminance": 0.13803
}

Semantic roles & 50–950 ramp

primary
#BA326C
secondary
#7FC9A9
accent
#E19F47
background
#FDF7F9
surface
#FBEEF1
border
#D4C9CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA326C

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

Preview Lab → · Contrast checker → · Palette generator →

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