#B52C7E#B52C7E

#B52C7E is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.3% C 0.189 H 348.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#B52C7E
RGBrgb(181, 44, 126)
HSLhsl(324, 61%, 44%)
HSVhsv(324, 76%, 71%)
CMYKcmyk(0%, 75.7%, 30.4%, 29%)
CIE-LABlab(42.96, 60.65, -13.93)
CIE-LCHlch(42.96, 62.23, 347.07°)
OKLaboklab(53.33% 0.1852 -0.0365)
OKLCHoklch(53.33% 0.189 348.8)
XYZxyz(23.7239, 13.1342, 21.0204)
Luminance0.1313 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52C7E #2CB563
analogous
#A82CB5 #B52C7E #B52C39
triadic
#B52C7E #7EB52C #2C7EB5
tetradic
#B52C7E #B5A82C #2CB563 #2C39B5
square
#B52C7E #B5A82C #2CB563 #2C39B5
split-complementary
#B52C7E #39B52C #2CB5A8
monochromatic
#531439 #84205C #B52C7E #D34B9D #DF7CB7

Accessibility & contrast

On white

5.79
#B52C7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B52C7E
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52C7E#FFFFFF#000000##FFFFFF
##B52C7E1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425680
Deuteranopia (green-blind)
#6A6E7B
Tritanopia (blue-blind)
#C22451
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b52c7e;
/* rgb */ color: rgb(181, 44, 126);
/* oklch */ color: oklch(53.3% 0.189 348.8);
Tailwind
colors: {
  custom: {
    50: '#d073a3',
    500: '#b52c7e',
    950: '#000000',
  },
}
SCSS
$custom: #b52c7e;
$custom-light: #d073a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b52c7e",
  "rgb": {
    "r": 181,
    "g": 44,
    "b": 126
  },
  "hsl": {
    "h": 324.088,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53331,
    "c": 0.18873,
    "h": 348.8
  },
  "luminance": 0.13131
}

Semantic roles & 50–950 ramp

primary
#B52C7E
secondary
#75C896
accent
#E48444
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#15090F
muted
#837B7F

Preview Lab

Preview with #B52C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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