#B52F86#B52F86

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

Color values

HEX#B52F86
RGBrgb(181, 47, 134)
HSLhsl(321, 59%, 45%)
HSVhsv(321, 74%, 71%)
CMYKcmyk(0%, 74%, 26%, 29%)
CIE-LABlab(43.63, 60.67, -17.82)
CIE-LCHlch(43.63, 63.23, 343.63°)
OKLaboklab(53.92% 0.1839 -0.0473)
OKLCHoklch(53.92% 0.19 345.6)
XYZxyz(24.3767, 13.5807, 23.8872)
Luminance0.1358 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52F86 #2FB55E
analogous
#A12FB5 #B52F86 #B52F43
triadic
#B52F86 #86B52F #2F86B5
tetradic
#B52F86 #B5A12F #2FB55E #2F43B5
square
#B52F86 #B5A12F #2FB55E #2F43B5
split-complementary
#B52F86 #43B52F #2FB5A1
monochromatic
#54163E #842262 #B52F86 #D150A4 #DE80BD

Accessibility & contrast

On white

5.65
#B52F86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B52F86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52F86
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52F86#FFFFFF#000000##FFFFFF
##B52F861.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405988
Deuteranopia (green-blind)
#696F83
Tritanopia (blue-blind)
#C12C57
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b52f86;
/* rgb */ color: rgb(181, 47, 134);
/* oklch */ color: oklch(53.9% 0.190 345.6);
Tailwind
colors: {
  custom: {
    50: '#cf74a9',
    500: '#b52f86',
    950: '#000000',
  },
}
SCSS
$custom: #b52f86;
$custom-light: #cf74a9;
$custom-dark: #000000;
JSON
{
  "hex": "#b52f86",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 134
  },
  "hsl": {
    "h": 321.045,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53916,
    "c": 0.18989,
    "h": 345.6
  },
  "luminance": 0.13578
}

Semantic roles & 50–950 ramp

primary
#B52F86
secondary
#79C794
accent
#E27D46
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B52F86

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

Preview Lab → · Contrast checker → · Palette generator →

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