#B52B8F#B52B8F

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

Color values

HEX#B52B8F
RGBrgb(181, 43, 143)
HSLhsl(317, 62%, 44%)
HSVhsv(317, 76%, 71%)
CMYKcmyk(0%, 76.2%, 21%, 29%)
CIE-LABlab(43.56, 63.11, -23.40)
CIE-LCHlch(43.56, 67.31, 339.66°)
OKLaboklab(54% 0.1894 -0.0629)
OKLCHoklch(54% 0.2 341.6)
XYZxyz(24.8787, 13.5372, 27.2840)
Luminance0.1353 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52B8F #2BB551
analogous
#962BB5 #B52B8F #B52B4A
triadic
#B52B8F #8FB52B #2B8FB5
tetradic
#B52B8F #B5962B #2BB551 #2B4AB5
square
#B52B8F #B5962B #2BB551 #2B4AB5
split-complementary
#B52B8F #4AB52B #2BB596
monochromatic
#521441 #841F68 #B52B8F #D449AE #E07BC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B52B8F#FFFFFF#000000##FFFFFF
##B52B8F1.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)
#385992
Deuteranopia (green-blind)
#646F8C
Tritanopia (blue-blind)
#C02E5A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b52b8f;
/* rgb */ color: rgb(181, 43, 143);
/* oklch */ color: oklch(54.0% 0.200 341.6);
Tailwind
colors: {
  custom: {
    50: '#cf73b0',
    500: '#b52b8f',
    950: '#000000',
  },
}
SCSS
$custom: #b52b8f;
$custom-light: #cf73b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b52b8f",
  "rgb": {
    "r": 181,
    "g": 43,
    "b": 143
  },
  "hsl": {
    "h": 316.522,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53995,
    "c": 0.19959,
    "h": 341.6
  },
  "luminance": 0.13535
}

Semantic roles & 50–950 ramp

primary
#B52B8F
secondary
#74C88B
accent
#E57043
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B52B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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