#B52799#B52799

#B52799 is a mid, highly saturated pink. Relative luminance 0.136; OKLCH L 54.2% C 0.210 H 337.7°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#B52799
RGBrgb(181, 39, 153)
HSLhsl(312, 65%, 43%)
HSVhsv(312, 78%, 71%)
CMYKcmyk(0%, 78.5%, 15.5%, 29%)
CIE-LABlab(43.62, 65.63, -29.35)
CIE-LCHlch(43.62, 71.90, 335.90°)
OKLaboklab(54.19% 0.1942 -0.0798)
OKLCHoklch(54.19% 0.21 337.7)
XYZxyz(25.5319, 13.5772, 31.4068)
Luminance0.1358 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52799 #27B543
analogous
#8A27B5 #B52799 #B52752
triadic
#B52799 #99B527 #2799B5
tetradic
#B52799 #B58A27 #27B543 #2752B5
square
#B52799 #B58A27 #27B543 #2752B5
split-complementary
#B52799 #52B527 #27B58A
monochromatic
#501144 #831C6E #B52799 #D643B9 #E175CC

Accessibility & contrast

On white

5.65
#B52799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B52799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52799
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52799#FFFFFF#000000##FFFFFF
##B527991.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D599C
Deuteranopia (green-blind)
#5F6F96
Tritanopia (blue-blind)
#BF305E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b52799;
/* rgb */ color: rgb(181, 39, 153);
/* oklch */ color: oklch(54.2% 0.210 337.7);
Tailwind
colors: {
  custom: {
    50: '#cf72b7',
    500: '#b52799',
    950: '#000000',
  },
}
SCSS
$custom: #b52799;
$custom-light: #cf72b7;
$custom-dark: #000000;
JSON
{
  "hex": "#b52799",
  "rgb": {
    "r": 181,
    "g": 39,
    "b": 153
  },
  "hsl": {
    "h": 311.831,
    "s": 64.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54189,
    "c": 0.20993,
    "h": 337.7
  },
  "luminance": 0.13575
}

Semantic roles & 50–950 ramp

primary
#B52799
secondary
#6FC981
accent
#E86140
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52799

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

Preview Lab → · Contrast checker → · Palette generator →

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