#B52E7F#B52E7F

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

Color values

HEX#B52E7F
RGBrgb(181, 46, 127)
HSLhsl(324, 59%, 45%)
HSVhsv(324, 75%, 71%)
CMYKcmyk(0%, 74.6%, 29.8%, 29%)
CIE-LABlab(43.23, 60.13, -14.14)
CIE-LCHlch(43.23, 61.77, 346.77°)
OKLaboklab(53.54% 0.1834 -0.0371)
OKLCHoklch(53.54% 0.187 348.6)
XYZxyz(23.8650, 13.3128, 21.3874)
Luminance0.1331 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52E7F #2EB564
analogous
#A82EB5 #B52E7F #B52E3C
triadic
#B52E7F #7FB52E #2E7FB5
tetradic
#B52E7F #B5A82E #2EB564 #2E3CB5
square
#B52E7F #B5A82E #2EB564 #2E3CB5
split-complementary
#B52E7F #3CB52E #2EB5A8
monochromatic
#53153B #84225D #B52E7F #D24E9D #DE7FB8

Accessibility & contrast

On white

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

On black

3.66
#B52E7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B52E7F#FFFFFF#000000##FFFFFF
##B52E7F1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b52e7f;
/* rgb */ color: rgb(181, 46, 127);
/* oklch */ color: oklch(53.5% 0.187 348.6);
Tailwind
colors: {
  custom: {
    50: '#d074a4',
    500: '#b52e7f',
    950: '#000000',
  },
}
SCSS
$custom: #b52e7f;
$custom-light: #d074a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b52e7f",
  "rgb": {
    "r": 181,
    "g": 46,
    "b": 127
  },
  "hsl": {
    "h": 324,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53538,
    "c": 0.1871,
    "h": 348.6
  },
  "luminance": 0.1331
}

Semantic roles & 50–950 ramp

primary
#B52E7F
secondary
#78C797
accent
#E38445
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B52E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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