#B52F96#B52F96

#B52F96 is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.6% C 0.200 H 339.0°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#B52F96
RGBrgb(181, 47, 150)
HSLhsl(314, 59%, 45%)
HSVhsv(314, 74%, 71%)
CMYKcmyk(0%, 74%, 17.1%, 29%)
CIE-LABlab(44.32, 62.81, -26.45)
CIE-LCHlch(44.32, 68.15, 337.16°)
OKLaboklab(54.65% 0.1866 -0.0716)
OKLCHoklch(54.65% 0.2 339)
XYZxyz(25.5782, 14.0613, 30.2153)
Luminance0.1406 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52F96 #2FB54E
analogous
#912FB5 #B52F96 #B52F53
triadic
#B52F96 #96B52F #2F96B5
tetradic
#B52F96 #B5912F #2FB54E #2F53B5
square
#B52F96 #B5912F #2FB54E #2F53B5
split-complementary
#B52F96 #53B52F #2FB591
monochromatic
#541645 #84226E #B52F96 #D150B3 #DE80C8

Accessibility & contrast

On white

5.51
#B52F96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#B52F96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52F96
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52F96#FFFFFF#000000##FFFFFF
##B52F961.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375B99
Deuteranopia (green-blind)
#637093
Tritanopia (blue-blind)
#BF355F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b52f96;
/* rgb */ color: rgb(181, 47, 150);
/* oklch */ color: oklch(54.6% 0.200 339.0);
Tailwind
colors: {
  custom: {
    50: '#cf75b5',
    500: '#b52f96',
    950: '#000000',
  },
}
SCSS
$custom: #b52f96;
$custom-light: #cf75b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b52f96",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 150
  },
  "hsl": {
    "h": 313.881,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54648,
    "c": 0.19985,
    "h": 339
  },
  "luminance": 0.14059
}

Semantic roles & 50–950 ramp

primary
#B52F96
secondary
#79C78B
accent
#E26A46
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52F96

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

Preview Lab → · Contrast checker → · Palette generator →

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