#B52B87#B52B87

#B52B87 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.6% C 0.195 H 344.9°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#B52B87
RGBrgb(181, 43, 135)
HSLhsl(320, 62%, 44%)
HSVhsv(320, 76%, 71%)
CMYKcmyk(0%, 76.2%, 25.4%, 29%)
CIE-LABlab(43.22, 62.07, -19.06)
CIE-LCHlch(43.22, 64.93, 342.93°)
OKLaboklab(53.63% 0.188 -0.0507)
OKLCHoklch(53.63% 0.195 344.9)
XYZxyz(24.2941, 13.3034, 24.2054)
Luminance0.1330 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52B87 #2BB559
analogous
#9E2BB5 #B52B87 #B52B42
triadic
#B52B87 #87B52B #2B87B5
tetradic
#B52B87 #B59E2B #2BB559 #2B42B5
square
#B52B87 #B59E2B #2BB559 #2B42B5
split-complementary
#B52B87 #42B52B #2BB59E
monochromatic
#52143D #841F62 #B52B87 #D449A6 #E07BBE

Accessibility & contrast

On white

5.74
#B52B87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B52B87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52B87
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52B87#FFFFFF#000000##FFFFFF
##B52B871.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5789
Deuteranopia (green-blind)
#676E84
Tritanopia (blue-blind)
#C12956
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b52b87;
/* rgb */ color: rgb(181, 43, 135);
/* oklch */ color: oklch(53.6% 0.195 344.9);
Tailwind
colors: {
  custom: {
    50: '#cf73aa',
    500: '#b52b87',
    950: '#000000',
  },
}
SCSS
$custom: #b52b87;
$custom-light: #cf73aa;
$custom-dark: #000000;
JSON
{
  "hex": "#b52b87",
  "rgb": {
    "r": 181,
    "g": 43,
    "b": 135
  },
  "hsl": {
    "h": 320,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53633,
    "c": 0.19477,
    "h": 344.9
  },
  "luminance": 0.13301
}

Semantic roles & 50–950 ramp

primary
#B52B87
secondary
#74C890
accent
#E57943
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B52B87

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

Preview Lab → · Contrast checker → · Palette generator →

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