#B52F8F#B52F8F

#B52F8F is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.3% C 0.195 H 341.8°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#B52F8F
RGBrgb(181, 47, 143)
HSLhsl(317, 59%, 45%)
HSVhsv(317, 74%, 71%)
CMYKcmyk(0%, 74%, 21%, 29%)
CIE-LABlab(44.01, 61.85, -22.71)
CIE-LCHlch(44.01, 65.88, 339.84°)
OKLaboklab(54.32% 0.1856 -0.061)
OKLCHoklch(54.32% 0.195 341.8)
XYZxyz(25.0313, 13.8425, 27.3349)
Luminance0.1384 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52F8F #2FB555
analogous
#982FB5 #B52F8F #B52F4C
triadic
#B52F8F #8FB52F #2F8FB5
tetradic
#B52F8F #B5982F #2FB555 #2F4CB5
square
#B52F8F #B5982F #2FB555 #2F4CB5
split-complementary
#B52F8F #4CB52F #2FB598
monochromatic
#541642 #842269 #B52F8F #D150AD #DE80C4

Accessibility & contrast

On white

5.57
#B52F8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#B52F8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52F8F
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52F8F#FFFFFF#000000##FFFFFF
##B52F8F1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5A92
Deuteranopia (green-blind)
#66708C
Tritanopia (blue-blind)
#C0315B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b52f8f;
/* rgb */ color: rgb(181, 47, 143);
/* oklch */ color: oklch(54.3% 0.195 341.8);
Tailwind
colors: {
  custom: {
    50: '#cf75b0',
    500: '#b52f8f',
    950: '#000000',
  },
}
SCSS
$custom: #b52f8f;
$custom-light: #cf75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b52f8f",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 143
  },
  "hsl": {
    "h": 317.015,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54317,
    "c": 0.19534,
    "h": 341.8
  },
  "luminance": 0.1384
}

Semantic roles & 50–950 ramp

primary
#B52F8F
secondary
#79C78F
accent
#E27246
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B52F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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