#B5328E#B5328E

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

Color values

HEX#B5328E
RGBrgb(181, 50, 142)
HSLhsl(318, 57%, 45%)
HSVhsv(318, 72%, 71%)
CMYKcmyk(0%, 72.4%, 21.5%, 29%)
CIE-LABlab(44.32, 60.70, -21.62)
CIE-LCHlch(44.32, 64.44, 340.40°)
OKLaboklab(54.53% 0.1823 -0.058)
OKLCHoklch(54.53% 0.191 342.4)
XYZxyz(25.0800, 14.0605, 26.9791)
Luminance0.1406 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5328E #32B559
analogous
#9B32B5 #B5328E #B5324C
triadic
#B5328E #8EB532 #328EB5
tetradic
#B5328E #B59B32 #32B559 #324CB5
square
#B5328E #B59B32 #32B559 #324CB5
split-complementary
#B5328E #4CB532 #32B59B
monochromatic
#551843 #852568 #B5328E #D054AB #DD84C3

Accessibility & contrast

On white

5.51
#B5328E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B5328E
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5328E#FFFFFF#000000##FFFFFF
##B5328E1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5B91
Deuteranopia (green-blind)
#67718B
Tritanopia (blue-blind)
#C0335C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b5328e;
/* rgb */ color: rgb(181, 50, 142);
/* oklch */ color: oklch(54.5% 0.191 342.4);
Tailwind
colors: {
  custom: {
    50: '#cf76af',
    500: '#b5328e',
    950: '#000000',
  },
}
SCSS
$custom: #b5328e;
$custom-light: #cf76af;
$custom-dark: #000000;
JSON
{
  "hex": "#b5328e",
  "rgb": {
    "r": 181,
    "g": 50,
    "b": 142
  },
  "hsl": {
    "h": 317.863,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54531,
    "c": 0.1913,
    "h": 342.4
  },
  "luminance": 0.14058
}

Semantic roles & 50–950 ramp

primary
#B5328E
secondary
#7CC792
accent
#E07548
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B5328E

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

Preview Lab → · Contrast checker → · Palette generator →

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