#B52F82#B52F82

#B52F82 is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.7% C 0.188 H 347.3°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#B52F82
RGBrgb(181, 47, 130)
HSLhsl(323, 59%, 45%)
HSVhsv(323, 74%, 71%)
CMYKcmyk(0%, 74%, 28.2%, 29%)
CIE-LABlab(43.46, 60.17, -15.62)
CIE-LCHlch(43.46, 62.16, 345.45°)
OKLaboklab(53.75% 0.183 -0.0412)
OKLCHoklch(53.75% 0.188 347.3)
XYZxyz(24.1030, 13.4712, 22.4456)
Luminance0.1347 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52F82 #2FB562
analogous
#A52FB5 #B52F82 #B52F3F
triadic
#B52F82 #82B52F #2F82B5
tetradic
#B52F82 #B5A52F #2FB562 #2F3FB5
square
#B52F82 #B5A52F #2FB562 #2F3FB5
split-complementary
#B52F82 #3FB52F #2FB5A5
monochromatic
#54163C #84225F #B52F82 #D150A0 #DE80BA

Accessibility & contrast

On white

5.69
#B52F82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#B52F82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52F82
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52F82#FFFFFF#000000##FFFFFF
##B52F821.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425884
Deuteranopia (green-blind)
#6A6F7F
Tritanopia (blue-blind)
#C22A54
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b52f82;
/* rgb */ color: rgb(181, 47, 130);
/* oklch */ color: oklch(53.7% 0.188 347.3);
Tailwind
colors: {
  custom: {
    50: '#cf74a6',
    500: '#b52f82',
    950: '#000000',
  },
}
SCSS
$custom: #b52f82;
$custom-light: #cf74a6;
$custom-dark: #000000;
JSON
{
  "hex": "#b52f82",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 322.836,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53747,
    "c": 0.18762,
    "h": 347.3
  },
  "luminance": 0.13468
}

Semantic roles & 50–950 ramp

primary
#B52F82
secondary
#79C797
accent
#E28146
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B52F82

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

Preview Lab → · Contrast checker → · Palette generator →

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