#B52F83#B52F83

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

Color values

HEX#B52F83
RGBrgb(181, 47, 131)
HSLhsl(322, 59%, 45%)
HSVhsv(322, 74%, 71%)
CMYKcmyk(0%, 74%, 27.6%, 29%)
CIE-LABlab(43.50, 60.29, -16.17)
CIE-LCHlch(43.50, 62.42, 344.98°)
OKLaboklab(53.79% 0.1833 -0.0428)
OKLCHoklch(53.79% 0.188 346.9)
XYZxyz(24.1704, 13.4981, 22.8009)
Luminance0.1349 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52F83 #2FB561
analogous
#A42FB5 #B52F83 #B52F40
triadic
#B52F83 #83B52F #2F83B5
tetradic
#B52F83 #B5A42F #2FB561 #2F40B5
square
#B52F83 #B5A42F #2FB561 #2F40B5
split-complementary
#B52F83 #40B52F #2FB5A4
monochromatic
#54163D #842260 #B52F83 #D150A1 #DE80BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B52F83#FFFFFF#000000##FFFFFF
##B52F831.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)
#425885
Deuteranopia (green-blind)
#696F80
Tritanopia (blue-blind)
#C22B55
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b52f83;
/* rgb */ color: rgb(181, 47, 131);
/* oklch */ color: oklch(53.8% 0.188 346.9);
Tailwind
colors: {
  custom: {
    50: '#cf74a7',
    500: '#b52f83',
    950: '#000000',
  },
}
SCSS
$custom: #b52f83;
$custom-light: #cf74a7;
$custom-dark: #000000;
JSON
{
  "hex": "#b52f83",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 322.388,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53789,
    "c": 0.18818,
    "h": 346.9
  },
  "luminance": 0.13495
}

Semantic roles & 50–950 ramp

primary
#B52F83
secondary
#79C796
accent
#E28046
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B52F83

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

Preview Lab → · Contrast checker → · Palette generator →

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