#B52D7D#B52D7D

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

Color values

HEX#B52D7D
RGBrgb(181, 45, 125)
HSLhsl(325, 60%, 44%)
HSVhsv(325, 75%, 71%)
CMYKcmyk(0%, 75.1%, 30.9%, 29%)
CIE-LABlab(43.04, 60.22, -13.20)
CIE-LCHlch(43.04, 61.65, 347.64°)
OKLaboklab(53.37% 0.1839 -0.0345)
OKLCHoklch(53.37% 0.187 349.4)
XYZxyz(23.6974, 13.1839, 20.6949)
Luminance0.1318 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52D7D #2DB565
analogous
#A92DB5 #B52D7D #B52D39
triadic
#B52D7D #7DB52D #2D7DB5
tetradic
#B52D7D #B5A92D #2DB565 #2D39B5
square
#B52D7D #B5A92D #2DB565 #2D39B5
split-complementary
#B52D7D #39B52D #2DB5A9
monochromatic
#531539 #84215B #B52D7D #D34D9B #DF7EB7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B52D7D#FFFFFF#000000##FFFFFF
##B52D7D1.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43567F
Deuteranopia (green-blind)
#6A6E7A
Tritanopia (blue-blind)
#C22551
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b52d7d;
/* rgb */ color: rgb(181, 45, 125);
/* oklch */ color: oklch(53.4% 0.187 349.4);
Tailwind
colors: {
  custom: {
    50: '#d073a2',
    500: '#b52d7d',
    950: '#000000',
  },
}
SCSS
$custom: #b52d7d;
$custom-light: #d073a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b52d7d",
  "rgb": {
    "r": 181,
    "g": 45,
    "b": 125
  },
  "hsl": {
    "h": 324.706,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53373,
    "c": 0.18714,
    "h": 349.4
  },
  "luminance": 0.13181
}

Semantic roles & 50–950 ramp

primary
#B52D7D
secondary
#76C798
accent
#E38644
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#15090F
muted
#837B7F

Preview Lab

Preview with #B52D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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