#B52C9D#B52C9D

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

Color values

HEX#B52C9D
RGBrgb(181, 44, 157)
HSLhsl(311, 61%, 44%)
HSVhsv(311, 76%, 71%)
CMYKcmyk(0%, 75.7%, 13.3%, 29%)
CIE-LABlab(44.32, 64.75, -30.66)
CIE-LCHlch(44.32, 71.64, 334.66°)
OKLaboklab(54.76% 0.1902 -0.0836)
OKLCHoklch(54.76% 0.208 336.3)
XYZxyz(26.0430, 14.0618, 33.2344)
Luminance0.1406 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52C9D #2CB544
analogous
#892CB5 #B52C9D #B52C59
triadic
#B52C9D #9DB52C #2C9DB5
tetradic
#B52C9D #B5892C #2CB544 #2C59B5
square
#B52C9D #B5892C #2CB544 #2C59B5
split-complementary
#B52C9D #59B52C #2CB589
monochromatic
#531448 #842072 #B52C9D #D34BBB #DF7CCE

Accessibility & contrast

On white

5.51
#B52C9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#B52C9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52C9D
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52C9D#FFFFFF#000000##FFFFFF
##B52C9D1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b52c9d;
/* rgb */ color: rgb(181, 44, 157);
/* oklch */ color: oklch(54.8% 0.208 336.3);
Tailwind
colors: {
  custom: {
    50: '#cf74ba',
    500: '#b52c9d',
    950: '#000000',
  },
}
SCSS
$custom: #b52c9d;
$custom-light: #cf74ba;
$custom-dark: #000000;
JSON
{
  "hex": "#b52c9d",
  "rgb": {
    "r": 181,
    "g": 44,
    "b": 157
  },
  "hsl": {
    "h": 310.511,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54756,
    "c": 0.20773,
    "h": 336.3
  },
  "luminance": 0.14059
}

Semantic roles & 50–950 ramp

primary
#B52C9D
secondary
#75C884
accent
#E46044
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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