#B52C87#B52C87

#B52C87 is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.7% C 0.194 H 345.0°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B52C87
RGBrgb(181, 44, 135)
HSLhsl(320, 61%, 44%)
HSVhsv(320, 76%, 71%)
CMYKcmyk(0%, 75.7%, 25.4%, 29%)
CIE-LABlab(43.33, 61.76, -18.89)
CIE-LCHlch(43.33, 64.58, 342.99°)
OKLaboklab(53.71% 0.1871 -0.0503)
OKLCHoklch(53.71% 0.194 345)
XYZxyz(24.3309, 13.3770, 24.2177)
Luminance0.1337 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52C87 #2CB55A
analogous
#9F2CB5 #B52C87 #B52C43
triadic
#B52C87 #87B52C #2C87B5
tetradic
#B52C87 #B59F2C #2CB55A #2C43B5
square
#B52C87 #B59F2C #2CB55A #2C43B5
split-complementary
#B52C87 #43B52C #2CB59F
monochromatic
#53143E #842062 #B52C87 #D34BA5 #DF7CBE

Accessibility & contrast

On white

5.71
#B52C87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B52C87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52C87
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52C87#FFFFFF#000000##FFFFFF
##B52C871.005.713.675.71
#FFFFFF5.711.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5889
Deuteranopia (green-blind)
#676F84
Tritanopia (blue-blind)
#C12A56
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b52c87;
/* rgb */ color: rgb(181, 44, 135);
/* oklch */ color: oklch(53.7% 0.194 345.0);
Tailwind
colors: {
  custom: {
    50: '#cf73aa',
    500: '#b52c87',
    950: '#000000',
  },
}
SCSS
$custom: #b52c87;
$custom-light: #cf73aa;
$custom-dark: #000000;
JSON
{
  "hex": "#b52c87",
  "rgb": {
    "r": 181,
    "g": 44,
    "b": 135
  },
  "hsl": {
    "h": 320.146,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53712,
    "c": 0.19372,
    "h": 345
  },
  "luminance": 0.13374
}

Semantic roles & 50–950 ramp

primary
#B52C87
secondary
#75C891
accent
#E47A44
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B52C87

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

Preview Lab → · Contrast checker → · Palette generator →

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