#B52D7C#B52D7C

#B52D7C is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.3% C 0.187 H 349.8°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#B52D7C
RGBrgb(181, 45, 124)
HSLhsl(325, 60%, 44%)
HSVhsv(325, 75%, 71%)
CMYKcmyk(0%, 75.1%, 31.5%, 29%)
CIE-LABlab(43.00, 60.10, -12.64)
CIE-LCHlch(43.00, 61.41, 348.12°)
OKLaboklab(53.33% 0.1837 -0.033)
OKLCHoklch(53.33% 0.187 349.8)
XYZxyz(23.6338, 13.1585, 20.3601)
Luminance0.1316 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52D7C #2DB566
analogous
#AA2DB5 #B52D7C #B52D38
triadic
#B52D7C #7CB52D #2D7CB5
tetradic
#B52D7C #B5AA2D #2DB566 #2D38B5
square
#B52D7C #B5AA2D #2DB566 #2D38B5
split-complementary
#B52D7C #38B52D #2DB5AA
monochromatic
#531539 #84215A #B52D7C #D34D9A #DF7EB6

Accessibility & contrast

On white

5.78
#B52D7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#B52D7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52D7C
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52D7C#FFFFFF#000000##FFFFFF
##B52D7C1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43567E
Deuteranopia (green-blind)
#6B6E79
Tritanopia (blue-blind)
#C22451
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b52d7c;
/* rgb */ color: rgb(181, 45, 124);
/* oklch */ color: oklch(53.3% 0.187 349.8);
Tailwind
colors: {
  custom: {
    50: '#d073a2',
    500: '#b52d7c',
    950: '#000000',
  },
}
SCSS
$custom: #b52d7c;
$custom-light: #d073a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b52d7c",
  "rgb": {
    "r": 181,
    "g": 45,
    "b": 124
  },
  "hsl": {
    "h": 325.147,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53333,
    "c": 0.18661,
    "h": 349.8
  },
  "luminance": 0.13156
}

Semantic roles & 50–950 ramp

primary
#B52D7C
secondary
#76C798
accent
#E38744
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090F
muted
#837B7E

Preview Lab

Preview with #B52D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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