#B52F8C#B52F8C

#B52F8C is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.2% C 0.193 H 343.0°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#B52F8C
RGBrgb(181, 47, 140)
HSLhsl(318, 59%, 45%)
HSVhsv(318, 74%, 71%)
CMYKcmyk(0%, 74%, 22.7%, 29%)
CIE-LABlab(43.88, 61.45, -21.09)
CIE-LCHlch(43.88, 64.96, 341.06°)
OKLaboklab(54.18% 0.1851 -0.0565)
OKLCHoklch(54.18% 0.193 343)
XYZxyz(24.8071, 13.7528, 26.1540)
Luminance0.1375 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52F8C #2FB558
analogous
#9B2FB5 #B52F8C #B52F49
triadic
#B52F8C #8CB52F #2F8CB5
tetradic
#B52F8C #B59B2F #2FB558 #2F49B5
square
#B52F8C #B59B2F #2FB558 #2F49B5
split-complementary
#B52F8C #49B52F #2FB59B
monochromatic
#541641 #842266 #B52F8C #D150AA #DE80C1

Accessibility & contrast

On white

5.60
#B52F8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#B52F8C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52F8C
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52F8C#FFFFFF#000000##FFFFFF
##B52F8C1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5A8F
Deuteranopia (green-blind)
#677089
Tritanopia (blue-blind)
#C12F5A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b52f8c;
/* rgb */ color: rgb(181, 47, 140);
/* oklch */ color: oklch(54.2% 0.193 343.0);
Tailwind
colors: {
  custom: {
    50: '#cf74ad',
    500: '#b52f8c',
    950: '#000000',
  },
}
SCSS
$custom: #b52f8c;
$custom-light: #cf74ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b52f8c",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 140
  },
  "hsl": {
    "h": 318.358,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54181,
    "c": 0.19347,
    "h": 343
  },
  "luminance": 0.1375
}

Semantic roles & 50–950 ramp

primary
#B52F8C
secondary
#79C791
accent
#E27646
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B52F8C

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

Preview Lab → · Contrast checker → · Palette generator →

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