#B5328D#B5328D

#B5328D is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.5% C 0.191 H 342.8°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B5328D
RGBrgb(181, 50, 141)
HSLhsl(318, 57%, 45%)
HSVhsv(318, 72%, 71%)
CMYKcmyk(0%, 72.4%, 22.1%, 29%)
CIE-LABlab(44.28, 60.57, -21.08)
CIE-LCHlch(44.28, 64.13, 340.81°)
OKLaboklab(54.49% 0.1821 -0.0564)
OKLCHoklch(54.49% 0.191 342.8)
XYZxyz(25.0052, 14.0306, 26.5854)
Luminance0.1403 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5328D #32B55A
analogous
#9C32B5 #B5328D #B5324B
triadic
#B5328D #8DB532 #328DB5
tetradic
#B5328D #B59C32 #32B55A #324BB5
square
#B5328D #B59C32 #32B55A #324BB5
split-complementary
#B5328D #4BB532 #32B59C
monochromatic
#551842 #852568 #B5328D #D054AA #DD84C2

Accessibility & contrast

On white

5.52
#B5328D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#B5328D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5328D
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5328D#FFFFFF#000000##FFFFFF
##B5328D1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5B90
Deuteranopia (green-blind)
#67708A
Tritanopia (blue-blind)
#C0335B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b5328d;
/* rgb */ color: rgb(181, 50, 141);
/* oklch */ color: oklch(54.5% 0.191 342.8);
Tailwind
colors: {
  custom: {
    50: '#cf76ae',
    500: '#b5328d',
    950: '#000000',
  },
}
SCSS
$custom: #b5328d;
$custom-light: #cf76ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b5328d",
  "rgb": {
    "r": 181,
    "g": 50,
    "b": 141
  },
  "hsl": {
    "h": 318.321,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54486,
    "c": 0.19068,
    "h": 342.8
  },
  "luminance": 0.14028
}

Semantic roles & 50–950 ramp

primary
#B5328D
secondary
#7CC793
accent
#E07648
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B5328D

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

Preview Lab → · Contrast checker → · Palette generator →

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