#B52D92#B52D92

#B52D92 is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.3% C 0.199 H 340.5°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#B52D92
RGBrgb(181, 45, 146)
HSLhsl(315, 60%, 44%)
HSVhsv(315, 75%, 71%)
CMYKcmyk(0%, 75.1%, 19.3%, 29%)
CIE-LABlab(43.91, 62.89, -24.67)
CIE-LCHlch(43.91, 67.56, 338.58°)
OKLaboklab(54.29% 0.188 -0.0665)
OKLCHoklch(54.29% 0.199 340.5)
XYZxyz(25.1835, 13.7784, 28.5218)
Luminance0.1378 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52D92 #2DB550
analogous
#942DB5 #B52D92 #B52D4E
triadic
#B52D92 #92B52D #2D92B5
tetradic
#B52D92 #B5942D #2DB550 #2D4EB5
square
#B52D92 #B5942D #2DB550 #2D4EB5
split-complementary
#B52D92 #4EB52D #2DB594
monochromatic
#531543 #84216A #B52D92 #D34DB0 #DF7EC6

Accessibility & contrast

On white

5.59
#B52D92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#B52D92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52D92
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52D92#FFFFFF#000000##FFFFFF
##B52D921.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385A95
Deuteranopia (green-blind)
#64708F
Tritanopia (blue-blind)
#C0315C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b52d92;
/* rgb */ color: rgb(181, 45, 146);
/* oklch */ color: oklch(54.3% 0.199 340.5);
Tailwind
colors: {
  custom: {
    50: '#cf74b2',
    500: '#b52d92',
    950: '#000000',
  },
}
SCSS
$custom: #b52d92;
$custom-light: #cf74b2;
$custom-dark: #000000;
JSON
{
  "hex": "#b52d92",
  "rgb": {
    "r": 181,
    "g": 45,
    "b": 146
  },
  "hsl": {
    "h": 315.441,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54294,
    "c": 0.1994,
    "h": 340.5
  },
  "luminance": 0.13776
}

Semantic roles & 50–950 ramp

primary
#B52D92
secondary
#76C78B
accent
#E36D44
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52D92

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

Preview Lab → · Contrast checker → · Palette generator →

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