#B52B9A#B52B9A

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

Color values

HEX#B52B9A
RGBrgb(181, 43, 154)
HSLhsl(312, 62%, 44%)
HSVhsv(312, 76%, 71%)
CMYKcmyk(0%, 76.2%, 14.9%, 29%)
CIE-LABlab(44.07, 64.62, -29.25)
CIE-LCHlch(44.07, 70.93, 335.65°)
OKLaboklab(54.53% 0.1908 -0.0795)
OKLCHoklch(54.53% 0.207 337.4)
XYZxyz(25.7532, 13.8871, 31.8897)
Luminance0.1389 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52B9A #2BB546
analogous
#8B2BB5 #B52B9A #B52B55
triadic
#B52B9A #9AB52B #2B9AB5
tetradic
#B52B9A #B58B2B #2BB546 #2B55B5
square
#B52B9A #B58B2B #2BB546 #2B55B5
split-complementary
#B52B9A #55B52B #2BB58B
monochromatic
#521446 #841F70 #B52B9A #D449B9 #E07BCC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B52B9A#FFFFFF#000000##FFFFFF
##B52B9A1.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)
#305B9D
Deuteranopia (green-blind)
#607097
Tritanopia (blue-blind)
#BF3460
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b52b9a;
/* rgb */ color: rgb(181, 43, 154);
/* oklch */ color: oklch(54.5% 0.207 337.4);
Tailwind
colors: {
  custom: {
    50: '#cf73b8',
    500: '#b52b9a',
    950: '#000000',
  },
}
SCSS
$custom: #b52b9a;
$custom-light: #cf73b8;
$custom-dark: #000000;
JSON
{
  "hex": "#b52b9a",
  "rgb": {
    "r": 181,
    "g": 43,
    "b": 154
  },
  "hsl": {
    "h": 311.739,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54528,
    "c": 0.20672,
    "h": 337.4
  },
  "luminance": 0.13885
}

Semantic roles & 50–950 ramp

primary
#B52B9A
secondary
#74C884
accent
#E56343
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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