#B52B97#B52B97

#B52B97 is a mid, highly saturated pink. Relative luminance 0.138; OKLCH L 54.4% C 0.205 H 338.5°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#B52B97
RGBrgb(181, 43, 151)
HSLhsl(313, 62%, 44%)
HSVhsv(313, 76%, 71%)
CMYKcmyk(0%, 76.2%, 16.6%, 29%)
CIE-LABlab(43.93, 64.20, -27.67)
CIE-LCHlch(43.93, 69.91, 336.69°)
OKLaboklab(54.38% 0.1905 -0.075)
OKLCHoklch(54.38% 0.205 338.5)
XYZxyz(25.5065, 13.7884, 30.5903)
Luminance0.1379 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52B97 #2BB549
analogous
#8E2BB5 #B52B97 #B52B52
triadic
#B52B97 #97B52B #2B97B5
tetradic
#B52B97 #B58E2B #2BB549 #2B52B5
square
#B52B97 #B58E2B #2BB549 #2B52B5
split-complementary
#B52B97 #52B52B #2BB58E
monochromatic
#521444 #841F6E #B52B97 #D449B6 #E07BCA

Accessibility & contrast

On white

5.59
#B52B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#B52B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52B97
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52B97#FFFFFF#000000##FFFFFF
##B52B971.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325A9A
Deuteranopia (green-blind)
#616F94
Tritanopia (blue-blind)
#BF325E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b52b97;
/* rgb */ color: rgb(181, 43, 151);
/* oklch */ color: oklch(54.4% 0.205 338.5);
Tailwind
colors: {
  custom: {
    50: '#cf73b6',
    500: '#b52b97',
    950: '#000000',
  },
}
SCSS
$custom: #b52b97;
$custom-light: #cf73b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b52b97",
  "rgb": {
    "r": 181,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 313.043,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54379,
    "c": 0.20473,
    "h": 338.5
  },
  "luminance": 0.13786
}

Semantic roles & 50–950 ramp

primary
#B52B97
secondary
#74C886
accent
#E56643
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52B97

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

Preview Lab → · Contrast checker → · Palette generator →

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