#B52F97#B52F97

#B52F97 is a mid, highly saturated pink. Relative luminance 0.141; OKLCH L 54.7% C 0.201 H 338.6°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#B52F97
RGBrgb(181, 47, 151)
HSLhsl(313, 59%, 45%)
HSVhsv(313, 74%, 71%)
CMYKcmyk(0%, 74%, 16.6%, 29%)
CIE-LABlab(44.37, 62.95, -26.98)
CIE-LCHlch(44.37, 68.49, 336.80°)
OKLaboklab(54.7% 0.1867 -0.0731)
OKLCHoklch(54.7% 0.201 338.6)
XYZxyz(25.6591, 14.0936, 30.6411)
Luminance0.1409 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52F97 #2FB54D
analogous
#902FB5 #B52F97 #B52F54
triadic
#B52F97 #97B52F #2F97B5
tetradic
#B52F97 #B5902F #2FB54D #2F54B5
square
#B52F97 #B5902F #2FB54D #2F54B5
split-complementary
#B52F97 #54B52F #2FB590
monochromatic
#541646 #84226E #B52F97 #D150B4 #DE80C9

Accessibility & contrast

On white

5.50
#B52F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#B52F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52F97
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52F97#FFFFFF#000000##FFFFFF
##B52F971.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365C9A
Deuteranopia (green-blind)
#637094
Tritanopia (blue-blind)
#BF3560
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b52f97;
/* rgb */ color: rgb(181, 47, 151);
/* oklch */ color: oklch(54.7% 0.201 338.6);
Tailwind
colors: {
  custom: {
    50: '#cf75b6',
    500: '#b52f97',
    950: '#000000',
  },
}
SCSS
$custom: #b52f97;
$custom-light: #cf75b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b52f97",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 313.433,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54696,
    "c": 0.20052,
    "h": 338.6
  },
  "luminance": 0.14091
}

Semantic roles & 50–950 ramp

primary
#B52F97
secondary
#79C78A
accent
#E26946
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52F97

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

Preview Lab → · Contrast checker → · Palette generator →

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