#B52D9E#B52D9E

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

Color values

HEX#B52D9E
RGBrgb(181, 45, 158)
HSLhsl(310, 60%, 44%)
HSVhsv(310, 75%, 71%)
CMYKcmyk(0%, 75.1%, 12.7%, 29%)
CIE-LABlab(44.48, 64.59, -31.01)
CIE-LCHlch(44.48, 71.64, 334.35°)
OKLaboklab(54.89% 0.1894 -0.0846)
OKLCHoklch(54.89% 0.207 335.9)
XYZxyz(26.1664, 14.1715, 33.6984)
Luminance0.1417 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52D9E #2DB544
analogous
#882DB5 #B52D9E #B52D5A
triadic
#B52D9E #9EB52D #2D9EB5
tetradic
#B52D9E #B5882D #2DB544 #2D5AB5
square
#B52D9E #B5882D #2DB544 #2D5AB5
split-complementary
#B52D9E #5AB52D #2DB588
monochromatic
#531548 #842173 #B52D9E #D34DBC #DF7ECE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B52D9E#FFFFFF#000000##FFFFFF
##B52D9E1.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)
#2F5CA1
Deuteranopia (green-blind)
#5F709B
Tritanopia (blue-blind)
#BE3763
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b52d9e;
/* rgb */ color: rgb(181, 45, 158);
/* oklch */ color: oklch(54.9% 0.207 335.9);
Tailwind
colors: {
  custom: {
    50: '#cf74bb',
    500: '#b52d9e',
    950: '#000000',
  },
}
SCSS
$custom: #b52d9e;
$custom-light: #cf74bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b52d9e",
  "rgb": {
    "r": 181,
    "g": 45,
    "b": 158
  },
  "hsl": {
    "h": 310.147,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54885,
    "c": 0.20739,
    "h": 335.9
  },
  "luminance": 0.14169
}

Semantic roles & 50–950 ramp

primary
#B52D9E
secondary
#76C784
accent
#E35F44
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B52D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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