#BA326D#BA326D

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

Color values

HEX#BA326D
RGBrgb(186, 50, 109)
HSLhsl(334, 58%, 46%)
HSVhsv(334, 73%, 73%)
CMYKcmyk(0%, 73.1%, 41.4%, 27.1%)
CIE-LABlab(43.98, 58.14, -1.81)
CIE-LCHlch(43.98, 58.17, 358.21°)
OKLaboklab(54.05% 0.1784 -0.004)
OKLCHoklch(54.05% 0.178 358.7)
XYZxyz(24.1524, 13.8275, 15.8621)
Luminance0.1382 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA326D #32BA7F
analogous
#BA32B1 #BA326D #BA3B32
triadic
#BA326D #6DBA32 #326DBA
tetradic
#BA326D #B1BA32 #32BA7F #3B32BA
square
#BA326D #B1BA32 #32BA7F #3B32BA
split-complementary
#BA326D #32BA3B #32B1BA
monochromatic
#5A1834 #8A2551 #BA326D #D2578C #DF88AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA326D#FFFFFF#000000##FFFFFF
##BA326D1.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)
#4E586E
Deuteranopia (green-blind)
#73716A
Tritanopia (blue-blind)
#C91F4B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba326d;
/* rgb */ color: rgb(186, 50, 109);
/* oklch */ color: oklch(54.1% 0.178 358.7);
Tailwind
colors: {
  custom: {
    50: '#d47596',
    500: '#ba326d',
    950: '#000000',
  },
}
SCSS
$custom: #ba326d;
$custom-light: #d47596;
$custom-dark: #000000;
JSON
{
  "hex": "#ba326d",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 109
  },
  "hsl": {
    "h": 333.971,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54051,
    "c": 0.17848,
    "h": 358.7
  },
  "luminance": 0.13824
}

Semantic roles & 50–950 ramp

primary
#BA326D
secondary
#7FC9A9
accent
#E19E47
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA326D

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

Preview Lab → · Contrast checker → · Palette generator →

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