#B52A9C#B52A9C

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

Color values

HEX#B52A9C
RGBrgb(181, 42, 156)
HSLhsl(311, 62%, 44%)
HSVhsv(311, 77%, 71%)
CMYKcmyk(0%, 76.8%, 13.8%, 29%)
CIE-LABlab(44.06, 65.20, -30.46)
CIE-LCHlch(44.06, 71.97, 334.96°)
OKLaboklab(54.56% 0.1919 -0.083)
OKLCHoklch(54.56% 0.209 336.6)
XYZxyz(25.8852, 13.8824, 32.7624)
Luminance0.1388 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52A9C #2AB543
analogous
#882AB5 #B52A9C #B52A56
triadic
#B52A9C #9CB52A #2A9CB5
tetradic
#B52A9C #B5882A #2AB543 #2A56B5
square
#B52A9C #B5882A #2AB543 #2A56B5
split-complementary
#B52A9C #56B52A #2AB588
monochromatic
#521346 #831E71 #B52A9C #D448BB #E079CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B52A9C#FFFFFF#000000##FFFFFF
##B52A9C1.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)
#2D5B9F
Deuteranopia (green-blind)
#5F7099
Tritanopia (blue-blind)
#BF3461
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b52a9c;
/* rgb */ color: rgb(181, 42, 156);
/* oklch */ color: oklch(54.6% 0.209 336.6);
Tailwind
colors: {
  custom: {
    50: '#cf73b9',
    500: '#b52a9c',
    950: '#000000',
  },
}
SCSS
$custom: #b52a9c;
$custom-light: #cf73b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b52a9c",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 156
  },
  "hsl": {
    "h": 310.791,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54555,
    "c": 0.20906,
    "h": 336.6
  },
  "luminance": 0.1388
}

Semantic roles & 50–950 ramp

primary
#B52A9C
secondary
#73C882
accent
#E56042
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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