#B52796#B52796

#B52796 is a mid, highly saturated pink. Relative luminance 0.135; OKLCH L 54.0% C 0.208 H 338.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B52796
RGBrgb(181, 39, 150)
HSLhsl(313, 65%, 43%)
HSVhsv(313, 78%, 71%)
CMYKcmyk(0%, 78.5%, 17.1%, 29%)
CIE-LABlab(43.48, 65.22, -27.77)
CIE-LCHlch(43.48, 70.88, 336.94°)
OKLaboklab(54.04% 0.1939 -0.0753)
OKLCHoklch(54.04% 0.208 338.8)
XYZxyz(25.2872, 13.4793, 30.1183)
Luminance0.1348 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52796 #27B546
analogous
#8D27B5 #B52796 #B5274F
triadic
#B52796 #96B527 #2796B5
tetradic
#B52796 #B58D27 #27B546 #274FB5
square
#B52796 #B58D27 #27B546 #274FB5
split-complementary
#B52796 #4FB527 #27B58D
monochromatic
#501143 #831C6C #B52796 #D643B6 #E175CA

Accessibility & contrast

On white

5.68
#B52796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#B52796 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52796
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52796#FFFFFF#000000##FFFFFF
##B527961.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305999
Deuteranopia (green-blind)
#606F93
Tritanopia (blue-blind)
#C02E5D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b52796;
/* rgb */ color: rgb(181, 39, 150);
/* oklch */ color: oklch(54.0% 0.208 338.8);
Tailwind
colors: {
  custom: {
    50: '#cf72b5',
    500: '#b52796',
    950: '#000000',
  },
}
SCSS
$custom: #b52796;
$custom-light: #cf72b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b52796",
  "rgb": {
    "r": 181,
    "g": 39,
    "b": 150
  },
  "hsl": {
    "h": 313.099,
    "s": 64.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54039,
    "c": 0.20797,
    "h": 338.8
  },
  "luminance": 0.13477
}

Semantic roles & 50–950 ramp

primary
#B52796
secondary
#6FC983
accent
#E86540
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52796

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

Preview Lab → · Contrast checker → · Palette generator →

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