#B52F7D#B52F7D

#B52F7D is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.5% C 0.185 H 349.5°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#B52F7D
RGBrgb(181, 47, 125)
HSLhsl(325, 59%, 45%)
HSVhsv(325, 74%, 71%)
CMYKcmyk(0%, 74%, 30.9%, 29%)
CIE-LABlab(43.27, 59.56, -12.85)
CIE-LCHlch(43.27, 60.93, 347.83°)
OKLaboklab(53.54% 0.1819 -0.0336)
OKLCHoklch(53.54% 0.185 349.5)
XYZxyz(23.7755, 13.3402, 20.7209)
Luminance0.1334 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52F7D #2FB567
analogous
#AA2FB5 #B52F7D #B52F3A
triadic
#B52F7D #7DB52F #2F7DB5
tetradic
#B52F7D #B5AA2F #2FB567 #2F3AB5
square
#B52F7D #B5AA2F #2FB567 #2F3AB5
split-complementary
#B52F7D #3AB52F #2FB5AA
monochromatic
#54163A #84225B #B52F7D #D1509B #DE80B7

Accessibility & contrast

On white

5.73
#B52F7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B52F7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52F7D
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52F7D#FFFFFF#000000##FFFFFF
##B52F7D1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44577F
Deuteranopia (green-blind)
#6B6F7A
Tritanopia (blue-blind)
#C22752
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b52f7d;
/* rgb */ color: rgb(181, 47, 125);
/* oklch */ color: oklch(53.5% 0.185 349.5);
Tailwind
colors: {
  custom: {
    50: '#d074a2',
    500: '#b52f7d',
    950: '#000000',
  },
}
SCSS
$custom: #b52f7d;
$custom-light: #d074a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b52f7d",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 125
  },
  "hsl": {
    "h": 325.075,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53542,
    "c": 0.18494,
    "h": 349.5
  },
  "luminance": 0.13337
}

Semantic roles & 50–950 ramp

primary
#B52F7D
secondary
#79C799
accent
#E28746
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#15090F
muted
#837B7F

Preview Lab

Preview with #B52F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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