#B52C8D#B52C8D

#B52C8D is a mid, vivid pink. Relative luminance 0.135; OKLCH L 54.0% C 0.197 H 342.5°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#B52C8D
RGBrgb(181, 44, 141)
HSLhsl(318, 61%, 44%)
HSVhsv(318, 76%, 71%)
CMYKcmyk(0%, 75.7%, 22.1%, 29%)
CIE-LABlab(43.58, 62.54, -22.15)
CIE-LCHlch(43.58, 66.34, 340.49°)
OKLaboklab(53.98% 0.1882 -0.0594)
OKLCHoklch(53.98% 0.197 342.5)
XYZxyz(24.7653, 13.5508, 26.5055)
Luminance0.1355 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52C8D #2CB554
analogous
#992CB5 #B52C8D #B52C49
triadic
#B52C8D #8DB52C #2C8DB5
tetradic
#B52C8D #B5992C #2CB554 #2C49B5
square
#B52C8D #B5992C #2CB554 #2C49B5
split-complementary
#B52C8D #49B52C #2CB599
monochromatic
#531440 #842067 #B52C8D #D34BAB #DF7CC2

Accessibility & contrast

On white

5.66
#B52C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#B52C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52C8D
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52C8D#FFFFFF#000000##FFFFFF
##B52C8D1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5990
Deuteranopia (green-blind)
#656F8A
Tritanopia (blue-blind)
#C12D59
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b52c8d;
/* rgb */ color: rgb(181, 44, 141);
/* oklch */ color: oklch(54.0% 0.197 342.5);
Tailwind
colors: {
  custom: {
    50: '#cf73ae',
    500: '#b52c8d',
    950: '#000000',
  },
}
SCSS
$custom: #b52c8d;
$custom-light: #cf73ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b52c8d",
  "rgb": {
    "r": 181,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 317.518,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53981,
    "c": 0.19732,
    "h": 342.5
  },
  "luminance": 0.13548
}

Semantic roles & 50–950 ramp

primary
#B52C8D
secondary
#75C88D
accent
#E47344
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B52C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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