#B52F8A#B52F8A

#B52F8A is a mid, vivid pink. Relative luminance 0.137; OKLCH L 54.1% C 0.192 H 343.9°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#B52F8A
RGBrgb(181, 47, 138)
HSLhsl(319, 59%, 45%)
HSVhsv(319, 74%, 71%)
CMYKcmyk(0%, 74%, 23.8%, 29%)
CIE-LABlab(43.79, 61.18, -20.00)
CIE-LCHlch(43.79, 64.37, 341.89°)
OKLaboklab(54.09% 0.1847 -0.0534)
OKLCHoklch(54.09% 0.192 343.9)
XYZxyz(24.6610, 13.6944, 25.3844)
Luminance0.1369 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52F8A #2FB55A
analogous
#9D2FB5 #B52F8A #B52F47
triadic
#B52F8A #8AB52F #2F8AB5
tetradic
#B52F8A #B59D2F #2FB55A #2F47B5
square
#B52F8A #B59D2F #2FB55A #2F47B5
split-complementary
#B52F8A #47B52F #2FB59D
monochromatic
#541640 #842265 #B52F8A #D150A8 #DE80C0

Accessibility & contrast

On white

5.62
#B52F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#B52F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52F8A
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52F8A#FFFFFF#000000##FFFFFF
##B52F8A1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E598C
Deuteranopia (green-blind)
#677087
Tritanopia (blue-blind)
#C12E59
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b52f8a;
/* rgb */ color: rgb(181, 47, 138);
/* oklch */ color: oklch(54.1% 0.192 343.9);
Tailwind
colors: {
  custom: {
    50: '#cf74ac',
    500: '#b52f8a',
    950: '#000000',
  },
}
SCSS
$custom: #b52f8a;
$custom-light: #cf74ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b52f8a",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 319.254,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54091,
    "c": 0.19225,
    "h": 343.9
  },
  "luminance": 0.13692
}

Semantic roles & 50–950 ramp

primary
#B52F8A
secondary
#79C792
accent
#E27846
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B52F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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