#B52C9E#B52C9E

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

Color values

HEX#B52C9E
RGBrgb(181, 44, 158)
HSLhsl(310, 61%, 44%)
HSVhsv(310, 76%, 71%)
CMYKcmyk(0%, 75.7%, 12.7%, 29%)
CIE-LABlab(44.37, 64.89, -31.18)
CIE-LCHlch(44.37, 71.99, 334.34°)
OKLaboklab(54.81% 0.1903 -0.0851)
OKLCHoklch(54.81% 0.208 335.9)
XYZxyz(26.1287, 14.0961, 33.6859)
Luminance0.1409 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52C9E #2CB543
analogous
#882CB5 #B52C9E #B52C5A
triadic
#B52C9E #9EB52C #2C9EB5
tetradic
#B52C9E #B5882C #2CB543 #2C5AB5
square
#B52C9E #B5882C #2CB543 #2C5AB5
split-complementary
#B52C9E #5AB52C #2CB588
monochromatic
#531448 #842073 #B52C9E #D34BBC #DF7CCF

Accessibility & contrast

On white

5.50
#B52C9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#B52C9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52C9E
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52C9E#FFFFFF#000000##FFFFFF
##B52C9E1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5CA1
Deuteranopia (green-blind)
#5F709B
Tritanopia (blue-blind)
#BE3763
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b52c9e;
/* rgb */ color: rgb(181, 44, 158);
/* oklch */ color: oklch(54.8% 0.208 335.9);
Tailwind
colors: {
  custom: {
    50: '#cf74bb',
    500: '#b52c9e',
    950: '#000000',
  },
}
SCSS
$custom: #b52c9e;
$custom-light: #cf74bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b52c9e",
  "rgb": {
    "r": 181,
    "g": 44,
    "b": 158
  },
  "hsl": {
    "h": 310.073,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54807,
    "c": 0.20842,
    "h": 335.9
  },
  "luminance": 0.14094
}

Semantic roles & 50–950 ramp

primary
#B52C9E
secondary
#75C883
accent
#E45F44
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B52C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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