#B52F85#B52F85

#B52F85 is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.9% C 0.189 H 346.0°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#B52F85
RGBrgb(181, 47, 133)
HSLhsl(321, 59%, 45%)
HSVhsv(321, 74%, 71%)
CMYKcmyk(0%, 74%, 26.5%, 29%)
CIE-LABlab(43.58, 60.54, -17.27)
CIE-LCHlch(43.58, 62.96, 344.08°)
OKLaboklab(53.87% 0.1837 -0.0458)
OKLCHoklch(53.87% 0.189 346)
XYZxyz(24.3073, 13.5529, 23.5216)
Luminance0.1355 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52F85 #2FB55F
analogous
#A22FB5 #B52F85 #B52F42
triadic
#B52F85 #85B52F #2F85B5
tetradic
#B52F85 #B5A22F #2FB55F #2F42B5
square
#B52F85 #B5A22F #2FB55F #2F42B5
split-complementary
#B52F85 #42B52F #2FB5A2
monochromatic
#54163E #842261 #B52F85 #D150A3 #DE80BC

Accessibility & contrast

On white

5.66
#B52F85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#B52F85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52F85
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52F85#FFFFFF#000000##FFFFFF
##B52F851.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415887
Deuteranopia (green-blind)
#696F82
Tritanopia (blue-blind)
#C12C56
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b52f85;
/* rgb */ color: rgb(181, 47, 133);
/* oklch */ color: oklch(53.9% 0.189 346.0);
Tailwind
colors: {
  custom: {
    50: '#cf74a8',
    500: '#b52f85',
    950: '#000000',
  },
}
SCSS
$custom: #b52f85;
$custom-light: #cf74a8;
$custom-dark: #000000;
JSON
{
  "hex": "#b52f85",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 321.493,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53873,
    "c": 0.18931,
    "h": 346
  },
  "luminance": 0.1355
}

Semantic roles & 50–950 ramp

primary
#B52F85
secondary
#79C795
accent
#E27E46
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B52F85

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

Preview Lab → · Contrast checker → · Palette generator →

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