#B52E8C#B52E8C

#B52E8C is a mid, vivid pink. Relative luminance 0.137; OKLCH L 54.1% C 0.195 H 343.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#B52E8C
RGBrgb(181, 46, 140)
HSLhsl(318, 59%, 45%)
HSVhsv(318, 75%, 71%)
CMYKcmyk(0%, 74.6%, 22.7%, 29%)
CIE-LABlab(43.76, 61.77, -21.27)
CIE-LCHlch(43.76, 65.33, 341.00°)
OKLaboklab(54.1% 0.186 -0.0569)
OKLCHoklch(54.1% 0.195 343)
XYZxyz(24.7676, 13.6738, 26.1408)
Luminance0.1367 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52E8C #2EB557
analogous
#9A2EB5 #B52E8C #B52E49
triadic
#B52E8C #8CB52E #2E8CB5
tetradic
#B52E8C #B59A2E #2EB557 #2E49B5
square
#B52E8C #B59A2E #2EB557 #2E49B5
split-complementary
#B52E8C #49B52E #2EB59A
monochromatic
#531541 #842266 #B52E8C #D24EAA #DE7FC1

Accessibility & contrast

On white

5.62
#B52E8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#B52E8C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52E8C
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52E8C#FFFFFF#000000##FFFFFF
##B52E8C1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C598F
Deuteranopia (green-blind)
#666F89
Tritanopia (blue-blind)
#C12F59
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b52e8c;
/* rgb */ color: rgb(181, 46, 140);
/* oklch */ color: oklch(54.1% 0.195 343.0);
Tailwind
colors: {
  custom: {
    50: '#cf74ad',
    500: '#b52e8c',
    950: '#000000',
  },
}
SCSS
$custom: #b52e8c;
$custom-light: #cf74ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b52e8c",
  "rgb": {
    "r": 181,
    "g": 46,
    "b": 140
  },
  "hsl": {
    "h": 318.222,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54097,
    "c": 0.19456,
    "h": 343
  },
  "luminance": 0.13671
}

Semantic roles & 50–950 ramp

primary
#B52E8C
secondary
#78C790
accent
#E37545
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B52E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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