#B52F91#B52F91

#B52F91 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.4% C 0.197 H 341.0°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#B52F91
RGBrgb(181, 47, 145)
HSLhsl(316, 59%, 45%)
HSVhsv(316, 74%, 71%)
CMYKcmyk(0%, 74%, 19.9%, 29%)
CIE-LABlab(44.09, 62.12, -23.78)
CIE-LCHlch(44.09, 66.51, 339.05°)
OKLaboklab(54.41% 0.1859 -0.064)
OKLCHoklch(54.41% 0.197 341)
XYZxyz(25.1842, 13.9036, 28.1399)
Luminance0.1390 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52F91 #2FB553
analogous
#962FB5 #B52F91 #B52F4E
triadic
#B52F91 #91B52F #2F91B5
tetradic
#B52F91 #B5962F #2FB553 #2F4EB5
square
#B52F91 #B5962F #2FB553 #2F4EB5
split-complementary
#B52F91 #4EB52F #2FB596
monochromatic
#541643 #84226A #B52F91 #D150AF #DE80C5

Accessibility & contrast

On white

5.56
#B52F91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#B52F91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52F91
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52F91#FFFFFF#000000##FFFFFF
##B52F911.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5A94
Deuteranopia (green-blind)
#65708E
Tritanopia (blue-blind)
#C0325C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b52f91;
/* rgb */ color: rgb(181, 47, 145);
/* oklch */ color: oklch(54.4% 0.197 341.0);
Tailwind
colors: {
  custom: {
    50: '#cf75b1',
    500: '#b52f91',
    950: '#000000',
  },
}
SCSS
$custom: #b52f91;
$custom-light: #cf75b1;
$custom-dark: #000000;
JSON
{
  "hex": "#b52f91",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 316.119,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5441,
    "c": 0.1966,
    "h": 341
  },
  "luminance": 0.13901
}

Semantic roles & 50–950 ramp

primary
#B52F91
secondary
#79C78E
accent
#E27046
background
#FDF7FA
surface
#FAEDF5
border
#D3C8CF
text
#140910
muted
#837B7F

Preview Lab

Preview with #B52F91

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

Preview Lab → · Contrast checker → · Palette generator →

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