#B5327E#B5327E

#B5327E is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.8% C 0.182 H 349.4°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B5327E
RGBrgb(181, 50, 126)
HSLhsl(325, 57%, 45%)
HSVhsv(325, 72%, 71%)
CMYKcmyk(0%, 72.4%, 30.4%, 29%)
CIE-LABlab(43.67, 58.65, -12.85)
CIE-LCHlch(43.67, 60.05, 347.64°)
OKLaboklab(53.85% 0.1789 -0.0336)
OKLCHoklch(53.85% 0.182 349.4)
XYZxyz(23.9638, 13.6140, 21.1004)
Luminance0.1361 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5327E #32B569
analogous
#AA32B5 #B5327E #B5323C
triadic
#B5327E #7EB532 #327EB5
tetradic
#B5327E #B5AA32 #32B569 #323CB5
square
#B5327E #B5AA32 #32B569 #323CB5
split-complementary
#B5327E #3CB532 #32B5AA
monochromatic
#55183B #85255D #B5327E #D0549C #DD84B8

Accessibility & contrast

On white

5.64
#B5327E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B5327E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5327E
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5327E#FFFFFF#000000##FFFFFF
##B5327E1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465880
Deuteranopia (green-blind)
#6C707B
Tritanopia (blue-blind)
#C22B54
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b5327e;
/* rgb */ color: rgb(181, 50, 126);
/* oklch */ color: oklch(53.8% 0.182 349.4);
Tailwind
colors: {
  custom: {
    50: '#cf75a3',
    500: '#b5327e',
    950: '#000000',
  },
}
SCSS
$custom: #b5327e;
$custom-light: #cf75a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b5327e",
  "rgb": {
    "r": 181,
    "g": 50,
    "b": 126
  },
  "hsl": {
    "h": 325.191,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53849,
    "c": 0.18203,
    "h": 349.4
  },
  "luminance": 0.13611
}

Semantic roles & 50–950 ramp

primary
#B5327E
secondary
#7CC79B
accent
#E08848
background
#FDF7FA
surface
#FAEEF3
border
#D3C9CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B5327E

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

Preview Lab → · Contrast checker → · Palette generator →

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