#B52F84#B52F84

#B52F84 is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.8% C 0.189 H 346.4°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#B52F84
RGBrgb(181, 47, 132)
HSLhsl(322, 59%, 45%)
HSVhsv(322, 74%, 71%)
CMYKcmyk(0%, 74%, 27.1%, 29%)
CIE-LABlab(43.54, 60.42, -16.72)
CIE-LCHlch(43.54, 62.69, 344.53°)
OKLaboklab(53.83% 0.1835 -0.0443)
OKLCHoklch(53.83% 0.189 346.4)
XYZxyz(24.2385, 13.5254, 23.1595)
Luminance0.1352 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52F84 #2FB560
analogous
#A32FB5 #B52F84 #B52F41
triadic
#B52F84 #84B52F #2F84B5
tetradic
#B52F84 #B5A32F #2FB560 #2F41B5
square
#B52F84 #B5A32F #2FB560 #2F41B5
split-complementary
#B52F84 #41B52F #2FB5A3
monochromatic
#54163D #842261 #B52F84 #D150A2 #DE80BC

Accessibility & contrast

On white

5.67
#B52F84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#B52F84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52F84
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52F84#FFFFFF#000000##FFFFFF
##B52F841.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415886
Deuteranopia (green-blind)
#696F81
Tritanopia (blue-blind)
#C22B56
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b52f84;
/* rgb */ color: rgb(181, 47, 132);
/* oklch */ color: oklch(53.8% 0.189 346.4);
Tailwind
colors: {
  custom: {
    50: '#cf74a8',
    500: '#b52f84',
    950: '#000000',
  },
}
SCSS
$custom: #b52f84;
$custom-light: #cf74a8;
$custom-dark: #000000;
JSON
{
  "hex": "#b52f84",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 321.94,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53831,
    "c": 0.18875,
    "h": 346.4
  },
  "luminance": 0.13523
}

Semantic roles & 50–950 ramp

primary
#B52F84
secondary
#79C795
accent
#E27F46
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B52F84

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

Preview Lab → · Contrast checker → · Palette generator →

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