#B52F7C#B52F7C

#B52F7C is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.5% C 0.184 H 350.0°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#B52F7C
RGBrgb(181, 47, 124)
HSLhsl(326, 59%, 45%)
HSVhsv(326, 74%, 71%)
CMYKcmyk(0%, 74%, 31.5%, 29%)
CIE-LABlab(43.23, 59.44, -12.29)
CIE-LCHlch(43.23, 60.70, 348.32°)
OKLaboklab(53.5% 0.1816 -0.0321)
OKLCHoklch(53.5% 0.184 350)
XYZxyz(23.7119, 13.3148, 20.3862)
Luminance0.1331 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52F7C #2FB568
analogous
#AB2FB5 #B52F7C #B52F39
triadic
#B52F7C #7CB52F #2F7CB5
tetradic
#B52F7C #B5AB2F #2FB568 #2F39B5
square
#B52F7C #B5AB2F #2FB568 #2F39B5
split-complementary
#B52F7C #39B52F #2FB5AB
monochromatic
#541639 #84225B #B52F7C #D1509A #DE80B6

Accessibility & contrast

On white

5.73
#B52F7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B52F7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52F7C
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52F7C#FFFFFF#000000##FFFFFF
##B52F7C1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45577E
Deuteranopia (green-blind)
#6B6F79
Tritanopia (blue-blind)
#C22751
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b52f7c;
/* rgb */ color: rgb(181, 47, 124);
/* oklch */ color: oklch(53.5% 0.184 350.0);
Tailwind
colors: {
  custom: {
    50: '#d074a2',
    500: '#b52f7c',
    950: '#000000',
  },
}
SCSS
$custom: #b52f7c;
$custom-light: #d074a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b52f7c",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 124
  },
  "hsl": {
    "h": 325.522,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53502,
    "c": 0.18442,
    "h": 350
  },
  "luminance": 0.13312
}

Semantic roles & 50–950 ramp

primary
#B52F7C
secondary
#79C79A
accent
#E28846
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090F
muted
#837B7E

Preview Lab

Preview with #B52F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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