#B52596#B52596

#B52596 is a mid, highly saturated pink. Relative luminance 0.133; OKLCH L 53.9% C 0.210 H 338.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B52596
RGBrgb(181, 37, 150)
HSLhsl(313, 66%, 43%)
HSVhsv(313, 80%, 71%)
CMYKcmyk(0%, 79.6%, 17.1%, 29%)
CIE-LABlab(43.29, 65.76, -28.06)
CIE-LCHlch(43.29, 71.50, 336.89°)
OKLaboklab(53.9% 0.1955 -0.0761)
OKLCHoklch(53.9% 0.21 338.7)
XYZxyz(25.2233, 13.3514, 30.0970)
Luminance0.1335 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52596 #25B544
analogous
#8C25B5 #B52596 #B5254E
triadic
#B52596 #96B525 #2596B5
tetradic
#B52596 #B58C25 #25B544 #254EB5
square
#B52596 #B58C25 #25B544 #254EB5
split-complementary
#B52596 #4EB525 #25B58C
monochromatic
#4F1042 #821B6C #B52596 #D83FB7 #E272CA

Accessibility & contrast

On white

5.72
#B52596 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B52596 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52596
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52596#FFFFFF#000000##FFFFFF
##B525961.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5899
Deuteranopia (green-blind)
#606E93
Tritanopia (blue-blind)
#C02D5C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b52596;
/* rgb */ color: rgb(181, 37, 150);
/* oklch */ color: oklch(53.9% 0.210 338.7);
Tailwind
colors: {
  custom: {
    50: '#cf71b5',
    500: '#b52596',
    950: '#000000',
  },
}
SCSS
$custom: #b52596;
$custom-light: #cf71b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b52596",
  "rgb": {
    "r": 181,
    "g": 37,
    "b": 150
  },
  "hsl": {
    "h": 312.917,
    "s": 66.055,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53903,
    "c": 0.2098,
    "h": 338.7
  },
  "luminance": 0.13349
}

Semantic roles & 50–950 ramp

primary
#B52596
secondary
#6DC981
accent
#E9633F
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52596

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

Preview Lab → · Contrast checker → · Palette generator →

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