#B52F99#B52F99

#B52F99 is a mid, highly saturated pink. Relative luminance 0.142; OKLCH L 54.8% C 0.202 H 337.8°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#B52F99
RGBrgb(181, 47, 153)
HSLhsl(313, 59%, 45%)
HSVhsv(313, 74%, 71%)
CMYKcmyk(0%, 74%, 15.5%, 29%)
CIE-LABlab(44.46, 63.23, -28.04)
CIE-LCHlch(44.46, 69.17, 336.09°)
OKLaboklab(54.79% 0.187 -0.0761)
OKLCHoklch(54.79% 0.202 337.8)
XYZxyz(25.8229, 14.1591, 31.5038)
Luminance0.1416 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52F99 #2FB54B
analogous
#8E2FB5 #B52F99 #B52F56
triadic
#B52F99 #99B52F #2F99B5
tetradic
#B52F99 #B58E2F #2FB54B #2F56B5
square
#B52F99 #B58E2F #2FB54B #2F56B5
split-complementary
#B52F99 #56B52F #2FB58E
monochromatic
#541647 #842270 #B52F99 #D150B6 #DE80CB

Accessibility & contrast

On white

5.48
#B52F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#B52F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52F99
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52F99#FFFFFF#000000##FFFFFF
##B52F991.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355C9C
Deuteranopia (green-blind)
#627196
Tritanopia (blue-blind)
#BF3661
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b52f99;
/* rgb */ color: rgb(181, 47, 153);
/* oklch */ color: oklch(54.8% 0.202 337.8);
Tailwind
colors: {
  custom: {
    50: '#cf75b7',
    500: '#b52f99',
    950: '#000000',
  },
}
SCSS
$custom: #b52f99;
$custom-light: #cf75b7;
$custom-dark: #000000;
JSON
{
  "hex": "#b52f99",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 312.537,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54794,
    "c": 0.20186,
    "h": 337.8
  },
  "luminance": 0.14157
}

Semantic roles & 50–950 ramp

primary
#B52F99
secondary
#79C789
accent
#E26646
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52F99

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

Preview Lab → · Contrast checker → · Palette generator →

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