#B52F7A#B52F7A

#B52F7A is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.4% C 0.183 H 350.9°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B52F7A
RGBrgb(181, 47, 122)
HSLhsl(326, 59%, 45%)
HSVhsv(326, 74%, 71%)
CMYKcmyk(0%, 74%, 32.6%, 29%)
CIE-LABlab(43.16, 59.21, -11.17)
CIE-LCHlch(43.16, 60.25, 349.32°)
OKLaboklab(53.42% 0.1811 -0.029)
OKLCHoklch(53.42% 0.183 350.9)
XYZxyz(23.5867, 13.2647, 19.7268)
Luminance0.1326 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52F7A #2FB56A
analogous
#AD2FB5 #B52F7A #B52F37
triadic
#B52F7A #7AB52F #2F7AB5
tetradic
#B52F7A #B5AD2F #2FB56A #2F37B5
square
#B52F7A #B5AD2F #2FB56A #2F37B5
split-complementary
#B52F7A #37B52F #2FB5AD
monochromatic
#541639 #842259 #B52F7A #D15098 #DE80B5

Accessibility & contrast

On white

5.75
#B52F7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B52F7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52F7A
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52F7A#FFFFFF#000000##FFFFFF
##B52F7A1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46577C
Deuteranopia (green-blind)
#6C6F77
Tritanopia (blue-blind)
#C32650
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b52f7a;
/* rgb */ color: rgb(181, 47, 122);
/* oklch */ color: oklch(53.4% 0.183 350.9);
Tailwind
colors: {
  custom: {
    50: '#d074a0',
    500: '#b52f7a',
    950: '#000000',
  },
}
SCSS
$custom: #b52f7a;
$custom-light: #d074a0;
$custom-dark: #000000;
JSON
{
  "hex": "#b52f7a",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 122
  },
  "hsl": {
    "h": 326.418,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53424,
    "c": 0.18341,
    "h": 350.9
  },
  "luminance": 0.13262
}

Semantic roles & 50–950 ramp

primary
#B52F7A
secondary
#79C79B
accent
#E28B46
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B52F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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