#B52597#B52597

#B52597 is a mid, highly saturated pink. Relative luminance 0.134; OKLCH L 54.0% C 0.210 H 338.4°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B52597
RGBrgb(181, 37, 151)
HSLhsl(313, 66%, 43%)
HSVhsv(313, 80%, 71%)
CMYKcmyk(0%, 79.6%, 16.6%, 29%)
CIE-LABlab(43.34, 65.89, -28.59)
CIE-LCHlch(43.34, 71.83, 336.55°)
OKLaboklab(53.95% 0.1956 -0.0776)
OKLCHoklch(53.95% 0.21 338.4)
XYZxyz(25.3042, 13.3838, 30.5228)
Luminance0.1338 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52597 #25B543
analogous
#8B25B5 #B52597 #B5254F
triadic
#B52597 #97B525 #2597B5
tetradic
#B52597 #B58B25 #25B543 #254FB5
square
#B52597 #B58B25 #25B543 #254FB5
split-complementary
#B52597 #4FB525 #25B58B
monochromatic
#4F1042 #821B6D #B52597 #D83FB8 #E272CB

Accessibility & contrast

On white

5.71
#B52597 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B52597 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52597
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52597#FFFFFF#000000##FFFFFF
##B525971.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D589A
Deuteranopia (green-blind)
#5F6E94
Tritanopia (blue-blind)
#BF2D5D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b52597;
/* rgb */ color: rgb(181, 37, 151);
/* oklch */ color: oklch(54.0% 0.210 338.4);
Tailwind
colors: {
  custom: {
    50: '#cf71b6',
    500: '#b52597',
    950: '#000000',
  },
}
SCSS
$custom: #b52597;
$custom-light: #cf71b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b52597",
  "rgb": {
    "r": 181,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 312.5,
    "s": 66.055,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53953,
    "c": 0.21043,
    "h": 338.4
  },
  "luminance": 0.13381
}

Semantic roles & 50–950 ramp

primary
#B52597
secondary
#6DC980
accent
#E9623F
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52597

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

Preview Lab → · Contrast checker → · Palette generator →

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