#B52B99#B52B99

#B52B99 is a mid, highly saturated pink. Relative luminance 0.139; OKLCH L 54.5% C 0.206 H 337.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#B52B99
RGBrgb(181, 43, 153)
HSLhsl(312, 62%, 44%)
HSVhsv(312, 76%, 71%)
CMYKcmyk(0%, 76.2%, 15.5%, 29%)
CIE-LABlab(44.02, 64.48, -28.72)
CIE-LCHlch(44.02, 70.59, 335.99°)
OKLaboklab(54.48% 0.1907 -0.078)
OKLCHoklch(54.48% 0.206 337.7)
XYZxyz(25.6703, 13.8539, 31.4529)
Luminance0.1385 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52B99 #2BB547
analogous
#8C2BB5 #B52B99 #B52B54
triadic
#B52B99 #99B52B #2B99B5
tetradic
#B52B99 #B58C2B #2BB547 #2B54B5
square
#B52B99 #B58C2B #2BB547 #2B54B5
split-complementary
#B52B99 #54B52B #2BB58C
monochromatic
#521445 #841F6F #B52B99 #D449B8 #E07BCB

Accessibility & contrast

On white

5.57
#B52B99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#B52B99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52B99
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52B99#FFFFFF#000000##FFFFFF
##B52B991.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315B9C
Deuteranopia (green-blind)
#607096
Tritanopia (blue-blind)
#BF335F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b52b99;
/* rgb */ color: rgb(181, 43, 153);
/* oklch */ color: oklch(54.5% 0.206 337.7);
Tailwind
colors: {
  custom: {
    50: '#cf73b7',
    500: '#b52b99',
    950: '#000000',
  },
}
SCSS
$custom: #b52b99;
$custom-light: #cf73b7;
$custom-dark: #000000;
JSON
{
  "hex": "#b52b99",
  "rgb": {
    "r": 181,
    "g": 43,
    "b": 153
  },
  "hsl": {
    "h": 312.174,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54478,
    "c": 0.20604,
    "h": 337.7
  },
  "luminance": 0.13851
}

Semantic roles & 50–950 ramp

primary
#B52B99
secondary
#74C885
accent
#E56443
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52B99

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

Preview Lab → · Contrast checker → · Palette generator →

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