#B5328B#B5328B

#B5328B is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.4% C 0.189 H 343.6°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#B5328B
RGBrgb(181, 50, 139)
HSLhsl(319, 57%, 45%)
HSVhsv(319, 72%, 71%)
CMYKcmyk(0%, 72.4%, 23.2%, 29%)
CIE-LABlab(44.19, 60.30, -20.00)
CIE-LCHlch(44.19, 63.53, 341.66°)
OKLaboklab(54.4% 0.1818 -0.0534)
OKLCHoklch(54.4% 0.189 343.6)
XYZxyz(24.8578, 13.9716, 25.8088)
Luminance0.1397 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5328B #32B55C
analogous
#9E32B5 #B5328B #B53249
triadic
#B5328B #8BB532 #328BB5
tetradic
#B5328B #B59E32 #32B55C #3249B5
square
#B5328B #B59E32 #32B55C #3249B5
split-complementary
#B5328B #49B532 #32B59E
monochromatic
#551841 #852566 #B5328B #D054A8 #DD84C1

Accessibility & contrast

On white

5.54
#B5328B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#B5328B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5328B
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5328B#FFFFFF#000000##FFFFFF
##B5328B1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405B8D
Deuteranopia (green-blind)
#687088
Tritanopia (blue-blind)
#C1325A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b5328b;
/* rgb */ color: rgb(181, 50, 139);
/* oklch */ color: oklch(54.4% 0.189 343.6);
Tailwind
colors: {
  custom: {
    50: '#cf76ad',
    500: '#b5328b',
    950: '#000000',
  },
}
SCSS
$custom: #b5328b;
$custom-light: #cf76ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b5328b",
  "rgb": {
    "r": 181,
    "g": 50,
    "b": 139
  },
  "hsl": {
    "h": 319.237,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54396,
    "c": 0.18944,
    "h": 343.6
  },
  "luminance": 0.13969
}

Semantic roles & 50–950 ramp

primary
#B5328B
secondary
#7CC794
accent
#E07948
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B5328B

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

Preview Lab → · Contrast checker → · Palette generator →

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