#B52F78#B52F78

#B52F78 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.3% C 0.182 H 351.8°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#B52F78
RGBrgb(181, 47, 120)
HSLhsl(327, 59%, 45%)
HSVhsv(327, 74%, 71%)
CMYKcmyk(0%, 74%, 33.7%, 29%)
CIE-LABlab(43.09, 58.98, -10.05)
CIE-LCHlch(43.09, 59.83, 350.33°)
OKLaboklab(53.35% 0.1806 -0.026)
OKLCHoklch(53.35% 0.182 351.8)
XYZxyz(23.4641, 13.2156, 19.0809)
Luminance0.1321 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52F78 #2FB56C
analogous
#AF2FB5 #B52F78 #B52F35
triadic
#B52F78 #78B52F #2F78B5
tetradic
#B52F78 #B5AF2F #2FB56C #2F35B5
square
#B52F78 #B5AF2F #2FB56C #2F35B5
split-complementary
#B52F78 #35B52F #2FB5AF
monochromatic
#541638 #842258 #B52F78 #D15096 #DE80B3

Accessibility & contrast

On white

5.77
#B52F78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B52F78
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52F78#FFFFFF#000000##FFFFFF
##B52F781.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46567A
Deuteranopia (green-blind)
#6C6F75
Tritanopia (blue-blind)
#C3244F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b52f78;
/* rgb */ color: rgb(181, 47, 120);
/* oklch */ color: oklch(53.3% 0.182 351.8);
Tailwind
colors: {
  custom: {
    50: '#d0749f',
    500: '#b52f78',
    950: '#000000',
  },
}
SCSS
$custom: #b52f78;
$custom-light: #d0749f;
$custom-dark: #000000;
JSON
{
  "hex": "#b52f78",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 120
  },
  "hsl": {
    "h": 327.313,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53346,
    "c": 0.18244,
    "h": 351.8
  },
  "luminance": 0.13213
}

Semantic roles & 50–950 ramp

primary
#B52F78
secondary
#79C79C
accent
#E28D46
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B52F78

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

Preview Lab → · Contrast checker → · Palette generator →

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