#B52F89#B52F89

#B52F89 is a mid, vivid pink. Relative luminance 0.137; OKLCH L 54.0% C 0.192 H 344.3°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#B52F89
RGBrgb(181, 47, 137)
HSLhsl(320, 59%, 45%)
HSVhsv(320, 74%, 71%)
CMYKcmyk(0%, 74%, 24.3%, 29%)
CIE-LABlab(43.75, 61.05, -19.46)
CIE-LCHlch(43.75, 64.08, 342.32°)
OKLaboklab(54.05% 0.1845 -0.0519)
OKLCHoklch(54.05% 0.192 344.3)
XYZxyz(24.5889, 13.6655, 25.0048)
Luminance0.1366 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52F89 #2FB55B
analogous
#9E2FB5 #B52F89 #B52F46
triadic
#B52F89 #89B52F #2F89B5
tetradic
#B52F89 #B59E2F #2FB55B #2F46B5
square
#B52F89 #B59E2F #2FB55B #2F46B5
split-complementary
#B52F89 #46B52F #2FB59E
monochromatic
#54163F #842264 #B52F89 #D150A7 #DE80BF

Accessibility & contrast

On white

5.63
#B52F89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#B52F89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52F89
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52F89#FFFFFF#000000##FFFFFF
##B52F891.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F598B
Deuteranopia (green-blind)
#686F86
Tritanopia (blue-blind)
#C12E58
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b52f89;
/* rgb */ color: rgb(181, 47, 137);
/* oklch */ color: oklch(54.0% 0.192 344.3);
Tailwind
colors: {
  custom: {
    50: '#cf74ab',
    500: '#b52f89',
    950: '#000000',
  },
}
SCSS
$custom: #b52f89;
$custom-light: #cf74ab;
$custom-dark: #000000;
JSON
{
  "hex": "#b52f89",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 137
  },
  "hsl": {
    "h": 319.701,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54047,
    "c": 0.19165,
    "h": 344.3
  },
  "luminance": 0.13663
}

Semantic roles & 50–950 ramp

primary
#B52F89
secondary
#79C792
accent
#E27946
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B52F89

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

Preview Lab → · Contrast checker → · Palette generator →

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