#B52F7F#B52F7F

#B52F7F is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.6% C 0.186 H 348.6°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B52F7F
RGBrgb(181, 47, 127)
HSLhsl(324, 59%, 45%)
HSVhsv(324, 74%, 71%)
CMYKcmyk(0%, 74%, 29.8%, 29%)
CIE-LABlab(43.35, 59.80, -13.96)
CIE-LCHlch(43.35, 61.41, 346.86°)
OKLaboklab(53.62% 0.1824 -0.0366)
OKLCHoklch(53.62% 0.186 348.6)
XYZxyz(23.9045, 13.3918, 21.4006)
Luminance0.1339 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52F7F #2FB565
analogous
#A82FB5 #B52F7F #B52F3C
triadic
#B52F7F #7FB52F #2F7FB5
tetradic
#B52F7F #B5A82F #2FB565 #2F3CB5
square
#B52F7F #B5A82F #2FB565 #2F3CB5
split-complementary
#B52F7F #3CB52F #2FB5A8
monochromatic
#54163B #84225D #B52F7F #D1509D #DE80B8

Accessibility & contrast

On white

5.71
#B52F7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B52F7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52F7F
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52F7F#FFFFFF#000000##FFFFFF
##B52F7F1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435781
Deuteranopia (green-blind)
#6B6F7C
Tritanopia (blue-blind)
#C22853
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b52f7f;
/* rgb */ color: rgb(181, 47, 127);
/* oklch */ color: oklch(53.6% 0.186 348.6);
Tailwind
colors: {
  custom: {
    50: '#d074a4',
    500: '#b52f7f',
    950: '#000000',
  },
}
SCSS
$custom: #b52f7f;
$custom-light: #d074a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b52f7f",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 127
  },
  "hsl": {
    "h": 324.179,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53623,
    "c": 0.18599,
    "h": 348.6
  },
  "luminance": 0.13389
}

Semantic roles & 50–950 ramp

primary
#B52F7F
secondary
#79C798
accent
#E28546
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B52F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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