#B52F6C#B52F6C

#B52F6C is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.9% C 0.177 H 357.5°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#B52F6C
RGBrgb(181, 47, 108)
HSLhsl(333, 59%, 45%)
HSVhsv(333, 74%, 71%)
CMYKcmyk(0%, 74%, 40.3%, 29%)
CIE-LABlab(42.68, 57.67, -3.22)
CIE-LCHlch(42.68, 57.76, 356.80°)
OKLaboklab(52.91% 0.1771 -0.0077)
OKLCHoklch(52.91% 0.177 357.5)
XYZxyz(22.7809, 12.9424, 15.4829)
Luminance0.1294 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52F6C #2FB578
analogous
#B52FAF #B52F6C #B5352F
triadic
#B52F6C #6CB52F #2F6CB5
tetradic
#B52F6C #AFB52F #2FB578 #352FB5
square
#B52F6C #AFB52F #2FB578 #352FB5
split-complementary
#B52F6C #2FB535 #2FAFB5
monochromatic
#541632 #84224F #B52F6C #D1508B #DE80AB

Accessibility & contrast

On white

5.85
#B52F6C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B52F6C
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52F6C#FFFFFF#000000##FFFFFF
##B52F6C1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B556E
Deuteranopia (green-blind)
#6F6E69
Tritanopia (blue-blind)
#C41D49
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b52f6c;
/* rgb */ color: rgb(181, 47, 108);
/* oklch */ color: oklch(52.9% 0.177 357.5);
Tailwind
colors: {
  custom: {
    50: '#d07396',
    500: '#b52f6c',
    950: '#000000',
  },
}
SCSS
$custom: #b52f6c;
$custom-light: #d07396;
$custom-dark: #000000;
JSON
{
  "hex": "#b52f6c",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 108
  },
  "hsl": {
    "h": 332.687,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52912,
    "c": 0.17723,
    "h": 357.5
  },
  "luminance": 0.12939
}

Semantic roles & 50–950 ramp

primary
#B52F6C
secondary
#79C7A3
accent
#E29B46
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B52F6C

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

Preview Lab → · Contrast checker → · Palette generator →

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