#B52B9E#B52B9E

#B52B9E is a mid, highly saturated pink. Relative luminance 0.140; OKLCH L 54.7% C 0.209 H 335.9°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B52B9E
RGBrgb(181, 43, 158)
HSLhsl(310, 62%, 44%)
HSVhsv(310, 76%, 71%)
CMYKcmyk(0%, 76.2%, 12.7%, 29%)
CIE-LABlab(44.27, 65.19, -31.35)
CIE-LCHlch(44.27, 72.34, 334.32°)
OKLaboklab(54.73% 0.1911 -0.0855)
OKLCHoklch(54.73% 0.209 335.9)
XYZxyz(26.0919, 14.0225, 33.6736)
Luminance0.1402 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52B9E #2BB542
analogous
#872BB5 #B52B9E #B52B59
triadic
#B52B9E #9EB52B #2B9EB5
tetradic
#B52B9E #B5872B #2BB542 #2B59B5
square
#B52B9E #B5872B #2BB542 #2B59B5
split-complementary
#B52B9E #59B52B #2BB587
monochromatic
#521448 #841F73 #B52B9E #D449BD #E07BCF

Accessibility & contrast

On white

5.52
#B52B9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#B52B9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52B9E
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52B9E#FFFFFF#000000##FFFFFF
##B52B9E1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5CA1
Deuteranopia (green-blind)
#5E709B
Tritanopia (blue-blind)
#BE3662
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b52b9e;
/* rgb */ color: rgb(181, 43, 158);
/* oklch */ color: oklch(54.7% 0.209 335.9);
Tailwind
colors: {
  custom: {
    50: '#cf73bb',
    500: '#b52b9e',
    950: '#000000',
  },
}
SCSS
$custom: #b52b9e;
$custom-light: #cf73bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b52b9e",
  "rgb": {
    "r": 181,
    "g": 43,
    "b": 158
  },
  "hsl": {
    "h": 310,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54732,
    "c": 0.20942,
    "h": 335.9
  },
  "luminance": 0.1402
}

Semantic roles & 50–950 ramp

primary
#B52B9E
secondary
#74C882
accent
#E55E43
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B52B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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