#B52D7F#B52D7F

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

Color values

HEX#B52D7F
RGBrgb(181, 45, 127)
HSLhsl(324, 60%, 44%)
HSVhsv(324, 75%, 71%)
CMYKcmyk(0%, 75.1%, 29.8%, 29%)
CIE-LABlab(43.12, 60.46, -14.31)
CIE-LCHlch(43.12, 62.13, 346.68°)
OKLaboklab(53.45% 0.1844 -0.0376)
OKLCHoklch(53.45% 0.188 348.5)
XYZxyz(23.8264, 13.2355, 21.3745)
Luminance0.1323 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52D7F #2DB563
analogous
#A72DB5 #B52D7F #B52D3B
triadic
#B52D7F #7FB52D #2D7FB5
tetradic
#B52D7F #B5A72D #2DB563 #2D3BB5
square
#B52D7F #B5A72D #2DB563 #2D3BB5
split-complementary
#B52D7F #3BB52D #2DB5A7
monochromatic
#53153A #84215D #B52D7F #D34D9D #DF7EB8

Accessibility & contrast

On white

5.76
#B52D7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B52D7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52D7F
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52D7F#FFFFFF#000000##FFFFFF
##B52D7F1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b52d7f;
/* rgb */ color: rgb(181, 45, 127);
/* oklch */ color: oklch(53.5% 0.188 348.5);
Tailwind
colors: {
  custom: {
    50: '#d073a4',
    500: '#b52d7f',
    950: '#000000',
  },
}
SCSS
$custom: #b52d7f;
$custom-light: #d073a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b52d7f",
  "rgb": {
    "r": 181,
    "g": 45,
    "b": 127
  },
  "hsl": {
    "h": 323.824,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53454,
    "c": 0.18818,
    "h": 348.5
  },
  "luminance": 0.13233
}

Semantic roles & 50–950 ramp

primary
#B52D7F
secondary
#76C797
accent
#E38444
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B52D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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