#B52F71#B52F71

#B52F71 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.1% C 0.179 H 355.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#B52F71
RGBrgb(181, 47, 113)
HSLhsl(330, 59%, 45%)
HSVhsv(330, 74%, 71%)
CMYKcmyk(0%, 74%, 37.6%, 29%)
CIE-LABlab(42.84, 58.20, -6.08)
CIE-LCHlch(42.84, 58.52, 354.03°)
OKLaboklab(53.09% 0.1786 -0.0153)
OKLCHoklch(53.09% 0.179 355.1)
XYZxyz(23.0547, 13.0519, 16.9248)
Luminance0.1305 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52F71 #2FB573
analogous
#B52FB4 #B52F71 #B5302F
triadic
#B52F71 #71B52F #2F71B5
tetradic
#B52F71 #B4B52F #2FB573 #302FB5
square
#B52F71 #B4B52F #2FB573 #302FB5
split-complementary
#B52F71 #2FB530 #2FB4B5
monochromatic
#541634 #842253 #B52F71 #D15090 #DE80AE

Accessibility & contrast

On white

5.82
#B52F71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B52F71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52F71
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52F71#FFFFFF#000000##FFFFFF
##B52F711.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b52f71;
/* rgb */ color: rgb(181, 47, 113);
/* oklch */ color: oklch(53.1% 0.179 355.1);
Tailwind
colors: {
  custom: {
    50: '#d07499',
    500: '#b52f71',
    950: '#000000',
  },
}
SCSS
$custom: #b52f71;
$custom-light: #d07499;
$custom-dark: #000000;
JSON
{
  "hex": "#b52f71",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 330.448,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53087,
    "c": 0.17925,
    "h": 355.1
  },
  "luminance": 0.13049
}

Semantic roles & 50–950 ramp

primary
#B52F71
secondary
#79C7A0
accent
#E29546
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B52F71

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

Preview Lab → · Contrast checker → · Palette generator →

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