#B52D9D#B52D9D

#B52D9D is a mid, highly saturated pink. Relative luminance 0.141; OKLCH L 54.8% C 0.207 H 336.3°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#B52D9D
RGBrgb(181, 45, 157)
HSLhsl(311, 60%, 44%)
HSVhsv(311, 75%, 71%)
CMYKcmyk(0%, 75.1%, 13.3%, 29%)
CIE-LABlab(44.43, 64.44, -30.49)
CIE-LCHlch(44.43, 71.29, 334.68°)
OKLaboklab(54.83% 0.1893 -0.0831)
OKLCHoklch(54.83% 0.207 336.3)
XYZxyz(26.0807, 14.1373, 33.2469)
Luminance0.1414 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52D9D #2DB545
analogous
#892DB5 #B52D9D #B52D59
triadic
#B52D9D #9DB52D #2D9DB5
tetradic
#B52D9D #B5892D #2DB545 #2D59B5
square
#B52D9D #B5892D #2DB545 #2D59B5
split-complementary
#B52D9D #59B52D #2DB589
monochromatic
#531548 #842172 #B52D9D #D34DBB #DF7ECE

Accessibility & contrast

On white

5.49
#B52D9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B52D9D
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52D9D#FFFFFF#000000##FFFFFF
##B52D9D1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5CA0
Deuteranopia (green-blind)
#5F709A
Tritanopia (blue-blind)
#BE3762
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b52d9d;
/* rgb */ color: rgb(181, 45, 157);
/* oklch */ color: oklch(54.8% 0.207 336.3);
Tailwind
colors: {
  custom: {
    50: '#cf74ba',
    500: '#b52d9d',
    950: '#000000',
  },
}
SCSS
$custom: #b52d9d;
$custom-light: #cf74ba;
$custom-dark: #000000;
JSON
{
  "hex": "#b52d9d",
  "rgb": {
    "r": 181,
    "g": 45,
    "b": 157
  },
  "hsl": {
    "h": 310.588,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54834,
    "c": 0.2067,
    "h": 336.3
  },
  "luminance": 0.14135
}

Semantic roles & 50–950 ramp

primary
#B52D9D
secondary
#76C785
accent
#E36144
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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