#B52F8B#B52F8B

#B52F8B is a mid, vivid pink. Relative luminance 0.137; OKLCH L 54.1% C 0.193 H 343.4°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#B52F8B
RGBrgb(181, 47, 139)
HSLhsl(319, 59%, 45%)
HSVhsv(319, 74%, 71%)
CMYKcmyk(0%, 74%, 23.2%, 29%)
CIE-LABlab(43.83, 61.31, -20.55)
CIE-LCHlch(43.83, 64.66, 341.47°)
OKLaboklab(54.14% 0.1849 -0.0549)
OKLCHoklch(54.14% 0.193 343.4)
XYZxyz(24.7337, 13.7235, 25.7674)
Luminance0.1372 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52F8B #2FB559
analogous
#9C2FB5 #B52F8B #B52F48
triadic
#B52F8B #8BB52F #2F8BB5
tetradic
#B52F8B #B59C2F #2FB559 #2F48B5
square
#B52F8B #B59C2F #2FB559 #2F48B5
split-complementary
#B52F8B #48B52F #2FB59C
monochromatic
#541640 #842266 #B52F8B #D150A9 #DE80C1

Accessibility & contrast

On white

5.61
#B52F8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#B52F8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52F8B
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52F8B#FFFFFF#000000##FFFFFF
##B52F8B1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D598E
Deuteranopia (green-blind)
#677088
Tritanopia (blue-blind)
#C12F59
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b52f8b;
/* rgb */ color: rgb(181, 47, 139);
/* oklch */ color: oklch(54.1% 0.193 343.4);
Tailwind
colors: {
  custom: {
    50: '#cf74ad',
    500: '#b52f8b',
    950: '#000000',
  },
}
SCSS
$custom: #b52f8b;
$custom-light: #cf74ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b52f8b",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 139
  },
  "hsl": {
    "h": 318.806,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54136,
    "c": 0.19286,
    "h": 343.4
  },
  "luminance": 0.13721
}

Semantic roles & 50–950 ramp

primary
#B52F8B
secondary
#79C791
accent
#E27746
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B52F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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