#B5327B#B5327B

#B5327B is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.7% C 0.180 H 350.7°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#B5327B
RGBrgb(181, 50, 123)
HSLhsl(327, 57%, 45%)
HSVhsv(327, 72%, 71%)
CMYKcmyk(0%, 72.4%, 32%, 29%)
CIE-LABlab(43.56, 58.30, -11.18)
CIE-LCHlch(43.56, 59.36, 349.15°)
OKLaboklab(53.73% 0.1781 -0.029)
OKLCHoklch(53.73% 0.18 350.7)
XYZxyz(23.7731, 13.5377, 20.0962)
Luminance0.1353 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5327B #32B56C
analogous
#AD32B5 #B5327B #B53239
triadic
#B5327B #7BB532 #327BB5
tetradic
#B5327B #B5AD32 #32B56C #3239B5
square
#B5327B #B5AD32 #32B56C #3239B5
split-complementary
#B5327B #39B532 #32B5AD
monochromatic
#55183A #85255A #B5327B #D05499 #DD84B6

Accessibility & contrast

On white

5.66
#B5327B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#B5327B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5327B
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5327B#FFFFFF#000000##FFFFFF
##B5327B1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47587D
Deuteranopia (green-blind)
#6D6F78
Tritanopia (blue-blind)
#C22A52
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b5327b;
/* rgb */ color: rgb(181, 50, 123);
/* oklch */ color: oklch(53.7% 0.180 350.7);
Tailwind
colors: {
  custom: {
    50: '#d075a1',
    500: '#b5327b',
    950: '#000000',
  },
}
SCSS
$custom: #b5327b;
$custom-light: #d075a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b5327b",
  "rgb": {
    "r": 181,
    "g": 50,
    "b": 123
  },
  "hsl": {
    "h": 326.565,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53731,
    "c": 0.18048,
    "h": 350.7
  },
  "luminance": 0.13535
}

Semantic roles & 50–950 ramp

primary
#B5327B
secondary
#7CC79D
accent
#E08B48
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #B5327B

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

Preview Lab → · Contrast checker → · Palette generator →

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