#B52C8F#B52C8F

#B52C8F is a mid, vivid pink. Relative luminance 0.136; OKLCH L 54.1% C 0.199 H 341.7°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B52C8F
RGBrgb(181, 44, 143)
HSLhsl(317, 61%, 44%)
HSVhsv(317, 76%, 71%)
CMYKcmyk(0%, 75.7%, 21%, 29%)
CIE-LABlab(43.67, 62.80, -23.23)
CIE-LCHlch(43.67, 66.96, 339.70°)
OKLaboklab(54.07% 0.1885 -0.0625)
OKLCHoklch(54.07% 0.199 341.7)
XYZxyz(24.9155, 13.6109, 27.2963)
Luminance0.1361 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52C8F #2CB552
analogous
#972CB5 #B52C8F #B52C4B
triadic
#B52C8F #8FB52C #2C8FB5
tetradic
#B52C8F #B5972C #2CB552 #2C4BB5
square
#B52C8F #B5972C #2CB552 #2C4BB5
split-complementary
#B52C8F #4BB52C #2CB597
monochromatic
#531441 #842068 #B52C8F #D34BAD #DF7CC4

Accessibility & contrast

On white

5.64
#B52C8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B52C8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52C8F
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52C8F#FFFFFF#000000##FFFFFF
##B52C8F1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395992
Deuteranopia (green-blind)
#656F8C
Tritanopia (blue-blind)
#C02E5A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b52c8f;
/* rgb */ color: rgb(181, 44, 143);
/* oklch */ color: oklch(54.1% 0.199 341.7);
Tailwind
colors: {
  custom: {
    50: '#cf73b0',
    500: '#b52c8f',
    950: '#000000',
  },
}
SCSS
$custom: #b52c8f;
$custom-light: #cf73b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b52c8f",
  "rgb": {
    "r": 181,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 316.642,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54073,
    "c": 0.19856,
    "h": 341.7
  },
  "luminance": 0.13608
}

Semantic roles & 50–950 ramp

primary
#B52C8F
secondary
#75C88C
accent
#E47044
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B52C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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