#B52B7D#B52B7D

#B52B7D is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.2% C 0.189 H 349.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#B52B7D
RGBrgb(181, 43, 125)
HSLhsl(324, 62%, 44%)
HSVhsv(324, 76%, 71%)
CMYKcmyk(0%, 76.2%, 30.9%, 29%)
CIE-LABlab(42.82, 60.85, -13.54)
CIE-LCHlch(42.82, 62.34, 347.46°)
OKLaboklab(53.21% 0.1859 -0.0355)
OKLCHoklch(53.21% 0.189 349.2)
XYZxyz(23.6229, 13.0349, 20.6700)
Luminance0.1303 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52B7D #2BB563
analogous
#A82BB5 #B52B7D #B52B38
triadic
#B52B7D #7DB52B #2B7DB5
tetradic
#B52B7D #B5A82B #2BB563 #2B38B5
square
#B52B7D #B5A82B #2BB563 #2B38B5
split-complementary
#B52B7D #38B52B #2BB5A8
monochromatic
#521439 #841F5B #B52B7D #D4499C #E07BB7

Accessibility & contrast

On white

5.82
#B52B7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B52B7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52B7D
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52B7D#FFFFFF#000000##FFFFFF
##B52B7D1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42567F
Deuteranopia (green-blind)
#6A6E7A
Tritanopia (blue-blind)
#C22350
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b52b7d;
/* rgb */ color: rgb(181, 43, 125);
/* oklch */ color: oklch(53.2% 0.189 349.2);
Tailwind
colors: {
  custom: {
    50: '#d072a2',
    500: '#b52b7d',
    950: '#000000',
  },
}
SCSS
$custom: #b52b7d;
$custom-light: #d072a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b52b7d",
  "rgb": {
    "r": 181,
    "g": 43,
    "b": 125
  },
  "hsl": {
    "h": 324.348,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5321,
    "c": 0.18925,
    "h": 349.2
  },
  "luminance": 0.13032
}

Semantic roles & 50–950 ramp

primary
#B52B7D
secondary
#74C896
accent
#E58543
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#15090F
muted
#837B7F

Preview Lab

Preview with #B52B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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