#B52F93#B52F93

#B52F93 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.5% C 0.198 H 340.2°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#B52F93
RGBrgb(181, 47, 147)
HSLhsl(315, 59%, 45%)
HSVhsv(315, 74%, 71%)
CMYKcmyk(0%, 74%, 18.8%, 29%)
CIE-LABlab(44.18, 62.39, -24.85)
CIE-LCHlch(44.18, 67.16, 338.28°)
OKLaboklab(54.5% 0.1862 -0.0671)
OKLCHoklch(54.5% 0.198 340.2)
XYZxyz(25.3397, 13.9659, 28.9593)
Luminance0.1396 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52F93 #2FB551
analogous
#942FB5 #B52F93 #B52F50
triadic
#B52F93 #93B52F #2F93B5
tetradic
#B52F93 #B5942F #2FB551 #2F50B5
square
#B52F93 #B5942F #2FB551 #2F50B5
split-complementary
#B52F93 #50B52F #2FB594
monochromatic
#541644 #84226C #B52F93 #D150B1 #DE80C6

Accessibility & contrast

On white

5.54
#B52F93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#B52F93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52F93
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52F93#FFFFFF#000000##FFFFFF
##B52F931.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395B96
Deuteranopia (green-blind)
#647090
Tritanopia (blue-blind)
#C0335D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b52f93;
/* rgb */ color: rgb(181, 47, 147);
/* oklch */ color: oklch(54.5% 0.198 340.2);
Tailwind
colors: {
  custom: {
    50: '#cf75b3',
    500: '#b52f93',
    950: '#000000',
  },
}
SCSS
$custom: #b52f93;
$custom-light: #cf75b3;
$custom-dark: #000000;
JSON
{
  "hex": "#b52f93",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 147
  },
  "hsl": {
    "h": 315.224,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54504,
    "c": 0.19789,
    "h": 340.2
  },
  "luminance": 0.13963
}

Semantic roles & 50–950 ramp

primary
#B52F93
secondary
#79C78D
accent
#E26D46
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52F93

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

Preview Lab → · Contrast checker → · Palette generator →

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