#B5327C#B5327C

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

Color values

HEX#B5327C
RGBrgb(181, 50, 124)
HSLhsl(326, 57%, 45%)
HSVhsv(326, 72%, 71%)
CMYKcmyk(0%, 72.4%, 31.5%, 29%)
CIE-LABlab(43.60, 58.41, -11.74)
CIE-LCHlch(43.60, 59.58, 348.64°)
OKLaboklab(53.77% 0.1784 -0.0306)
OKLCHoklch(53.77% 0.181 350.3)
XYZxyz(23.8360, 13.5629, 20.4275)
Luminance0.1356 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5327C #32B56B
analogous
#AC32B5 #B5327C #B5323A
triadic
#B5327C #7CB532 #327CB5
tetradic
#B5327C #B5AC32 #32B56B #323AB5
square
#B5327C #B5AC32 #32B56B #323AB5
split-complementary
#B5327C #3AB532 #32B5AC
monochromatic
#55183A #85255B #B5327C #D0549A #DD84B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5327C#FFFFFF#000000##FFFFFF
##B5327C1.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)
#47587E
Deuteranopia (green-blind)
#6C6F79
Tritanopia (blue-blind)
#C22A53
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b5327c;
/* rgb */ color: rgb(181, 50, 124);
/* oklch */ color: oklch(53.8% 0.181 350.3);
Tailwind
colors: {
  custom: {
    50: '#cf75a2',
    500: '#b5327c',
    950: '#000000',
  },
}
SCSS
$custom: #b5327c;
$custom-light: #cf75a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b5327c",
  "rgb": {
    "r": 181,
    "g": 50,
    "b": 124
  },
  "hsl": {
    "h": 326.107,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5377,
    "c": 0.18099,
    "h": 350.3
  },
  "luminance": 0.1356
}

Semantic roles & 50–950 ramp

primary
#B5327C
secondary
#7CC79D
accent
#E08A48
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #B5327C

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

Preview Lab → · Contrast checker → · Palette generator →

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