#B52D7E#B52D7E

#B52D7E is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.4% C 0.188 H 348.9°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#B52D7E
RGBrgb(181, 45, 126)
HSLhsl(324, 60%, 44%)
HSVhsv(324, 75%, 71%)
CMYKcmyk(0%, 75.1%, 30.4%, 29%)
CIE-LABlab(43.08, 60.34, -13.76)
CIE-LCHlch(43.08, 61.88, 347.16°)
OKLaboklab(53.41% 0.1842 -0.0361)
OKLCHoklch(53.41% 0.188 348.9)
XYZxyz(23.7616, 13.2096, 21.0330)
Luminance0.1321 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52D7E #2DB564
analogous
#A82DB5 #B52D7E #B52D3A
triadic
#B52D7E #7EB52D #2D7EB5
tetradic
#B52D7E #B5A82D #2DB564 #2D3AB5
square
#B52D7E #B5A82D #2DB564 #2D3AB5
split-complementary
#B52D7E #3AB52D #2DB5A8
monochromatic
#53153A #84215C #B52D7E #D34D9C #DF7EB7

Accessibility & contrast

On white

5.77
#B52D7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#B52D7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52D7E
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52D7E#FFFFFF#000000##FFFFFF
##B52D7E1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425780
Deuteranopia (green-blind)
#6A6E7B
Tritanopia (blue-blind)
#C22652
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b52d7e;
/* rgb */ color: rgb(181, 45, 126);
/* oklch */ color: oklch(53.4% 0.188 348.9);
Tailwind
colors: {
  custom: {
    50: '#d073a3',
    500: '#b52d7e',
    950: '#000000',
  },
}
SCSS
$custom: #b52d7e;
$custom-light: #d073a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b52d7e",
  "rgb": {
    "r": 181,
    "g": 45,
    "b": 126
  },
  "hsl": {
    "h": 324.265,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53413,
    "c": 0.18766,
    "h": 348.9
  },
  "luminance": 0.13207
}

Semantic roles & 50–950 ramp

primary
#B52D7E
secondary
#76C797
accent
#E38544
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#15090F
muted
#837B7F

Preview Lab

Preview with #B52D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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