#B52F9A#B52F9A

#B52F9A is a mid, highly saturated pink. Relative luminance 0.142; OKLCH L 54.8% C 0.203 H 337.5°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B52F9A
RGBrgb(181, 47, 154)
HSLhsl(312, 59%, 45%)
HSVhsv(312, 74%, 71%)
CMYKcmyk(0%, 74%, 14.9%, 29%)
CIE-LABlab(44.51, 63.37, -28.57)
CIE-LCHlch(44.51, 69.52, 335.74°)
OKLaboklab(54.84% 0.1871 -0.0776)
OKLCHoklch(54.84% 0.203 337.5)
XYZxyz(25.9058, 14.1923, 31.9406)
Luminance0.1419 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52F9A #2FB54A
analogous
#8D2FB5 #B52F9A #B52F57
triadic
#B52F9A #9AB52F #2F9AB5
tetradic
#B52F9A #B58D2F #2FB54A #2F57B5
square
#B52F9A #B58D2F #2FB54A #2F57B5
split-complementary
#B52F9A #57B52F #2FB58D
monochromatic
#541647 #842271 #B52F9A #D150B7 #DE80CB

Accessibility & contrast

On white

5.47
#B52F9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#B52F9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52F9A
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52F9A#FFFFFF#000000##FFFFFF
##B52F9A1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345C9D
Deuteranopia (green-blind)
#617197
Tritanopia (blue-blind)
#BF3761
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b52f9a;
/* rgb */ color: rgb(181, 47, 154);
/* oklch */ color: oklch(54.8% 0.203 337.5);
Tailwind
colors: {
  custom: {
    50: '#cf75b8',
    500: '#b52f9a',
    950: '#000000',
  },
}
SCSS
$custom: #b52f9a;
$custom-light: #cf75b8;
$custom-dark: #000000;
JSON
{
  "hex": "#b52f9a",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 154
  },
  "hsl": {
    "h": 312.09,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54843,
    "c": 0.20253,
    "h": 337.5
  },
  "luminance": 0.1419
}

Semantic roles & 50–950 ramp

primary
#B52F9A
secondary
#79C789
accent
#E26546
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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