#B52E71#B52E71

#B52E71 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.0% C 0.180 H 355.0°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#B52E71
RGBrgb(181, 46, 113)
HSLhsl(330, 59%, 45%)
HSVhsv(330, 75%, 71%)
CMYKcmyk(0%, 74.6%, 37.6%, 29%)
CIE-LABlab(42.72, 58.53, -6.26)
CIE-LCHlch(42.72, 58.87, 353.89°)
OKLaboklab(53% 0.1797 -0.0158)
OKLCHoklch(53% 0.18 355)
XYZxyz(23.0152, 12.9728, 16.9116)
Luminance0.1297 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52E71 #2EB572
analogous
#B52EB5 #B52E71 #B52F2E
triadic
#B52E71 #71B52E #2E71B5
tetradic
#B52E71 #B5B52E #2EB572 #2F2EB5
square
#B52E71 #B5B52E #2EB572 #2F2EB5
split-complementary
#B52E71 #2EB52F #2EB5B5
monochromatic
#531534 #842253 #B52E71 #D24E90 #DE7FAE

Accessibility & contrast

On white

5.84
#B52E71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#B52E71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52E71
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52E71#FFFFFF#000000##FFFFFF
##B52E711.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485573
Deuteranopia (green-blind)
#6E6E6E
Tritanopia (blue-blind)
#C31F4B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b52e71;
/* rgb */ color: rgb(181, 46, 113);
/* oklch */ color: oklch(53.0% 0.180 355.0);
Tailwind
colors: {
  custom: {
    50: '#d07399',
    500: '#b52e71',
    950: '#000000',
  },
}
SCSS
$custom: #b52e71;
$custom-light: #d07399;
$custom-dark: #000000;
JSON
{
  "hex": "#b52e71",
  "rgb": {
    "r": 181,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 330.222,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53,
    "c": 0.18035,
    "h": 355
  },
  "luminance": 0.1297
}

Semantic roles & 50–950 ramp

primary
#B52E71
secondary
#78C7A0
accent
#E39445
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B52E71

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

Preview Lab → · Contrast checker → · Palette generator →

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