#B52B8D#B52B8D

#B52B8D is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.9% C 0.198 H 342.4°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B52B8D
RGBrgb(181, 43, 141)
HSLhsl(317, 62%, 44%)
HSVhsv(317, 76%, 71%)
CMYKcmyk(0%, 76.2%, 22.1%, 29%)
CIE-LABlab(43.47, 62.84, -22.32)
CIE-LCHlch(43.47, 66.69, 340.45°)
OKLaboklab(53.9% 0.1891 -0.0599)
OKLCHoklch(53.9% 0.198 342.4)
XYZxyz(24.7285, 13.4772, 26.4932)
Luminance0.1348 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52B8D #2BB553
analogous
#982BB5 #B52B8D #B52B48
triadic
#B52B8D #8DB52B #2B8DB5
tetradic
#B52B8D #B5982B #2BB553 #2B48B5
square
#B52B8D #B5982B #2BB553 #2B48B5
split-complementary
#B52B8D #48B52B #2BB598
monochromatic
#521440 #841F66 #B52B8D #D449AC #E07BC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B52B8D#FFFFFF#000000##FFFFFF
##B52B8D1.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)
#395890
Deuteranopia (green-blind)
#656F8A
Tritanopia (blue-blind)
#C12C59
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b52b8d;
/* rgb */ color: rgb(181, 43, 141);
/* oklch */ color: oklch(53.9% 0.198 342.4);
Tailwind
colors: {
  custom: {
    50: '#cf73ae',
    500: '#b52b8d',
    950: '#000000',
  },
}
SCSS
$custom: #b52b8d;
$custom-light: #cf73ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b52b8d",
  "rgb": {
    "r": 181,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 317.391,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53903,
    "c": 0.19836,
    "h": 342.4
  },
  "luminance": 0.13475
}

Semantic roles & 50–950 ramp

primary
#B52B8D
secondary
#74C88C
accent
#E57243
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B52B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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