#B52C9C#B52C9C

#B52C9C is a mid, highly saturated pink. Relative luminance 0.140; OKLCH L 54.7% C 0.207 H 336.6°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B52C9C
RGBrgb(181, 44, 156)
HSLhsl(311, 61%, 44%)
HSVhsv(311, 76%, 71%)
CMYKcmyk(0%, 75.7%, 13.8%, 29%)
CIE-LABlab(44.27, 64.60, -30.13)
CIE-LCHlch(44.27, 71.29, 334.99°)
OKLaboklab(54.71% 0.1901 -0.0821)
OKLCHoklch(54.71% 0.207 336.6)
XYZxyz(25.9580, 14.0278, 32.7866)
Luminance0.1403 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52C9C #2CB545
analogous
#8A2CB5 #B52C9C #B52C58
triadic
#B52C9C #9CB52C #2C9CB5
tetradic
#B52C9C #B58A2C #2CB545 #2C58B5
square
#B52C9C #B58A2C #2CB545 #2C58B5
split-complementary
#B52C9C #58B52C #2CB58A
monochromatic
#531447 #842072 #B52C9C #D34BBA #DF7CCD

Accessibility & contrast

On white

5.52
#B52C9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B52C9C
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52C9C#FFFFFF#000000##FFFFFF
##B52C9C1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5B9F
Deuteranopia (green-blind)
#5F7099
Tritanopia (blue-blind)
#BF3661
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b52c9c;
/* rgb */ color: rgb(181, 44, 156);
/* oklch */ color: oklch(54.7% 0.207 336.6);
Tailwind
colors: {
  custom: {
    50: '#cf74b9',
    500: '#b52c9c',
    950: '#000000',
  },
}
SCSS
$custom: #b52c9c;
$custom-light: #cf74b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b52c9c",
  "rgb": {
    "r": 181,
    "g": 44,
    "b": 156
  },
  "hsl": {
    "h": 310.949,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54705,
    "c": 0.20705,
    "h": 336.6
  },
  "luminance": 0.14025
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B52C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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