#B52F92#B52F92

#B52F92 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.5% C 0.197 H 340.6°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#B52F92
RGBrgb(181, 47, 146)
HSLhsl(316, 59%, 45%)
HSVhsv(316, 74%, 71%)
CMYKcmyk(0%, 74%, 19.3%, 29%)
CIE-LABlab(44.14, 62.25, -24.32)
CIE-LCHlch(44.14, 66.83, 338.66°)
OKLaboklab(54.46% 0.186 -0.0656)
OKLCHoklch(54.46% 0.197 340.6)
XYZxyz(25.2616, 13.9346, 28.5478)
Luminance0.1393 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52F92 #2FB552
analogous
#952FB5 #B52F92 #B52F4F
triadic
#B52F92 #92B52F #2F92B5
tetradic
#B52F92 #B5952F #2FB552 #2F4FB5
square
#B52F92 #B5952F #2FB552 #2F4FB5
split-complementary
#B52F92 #4FB52F #2FB595
monochromatic
#541644 #84226B #B52F92 #D150B0 #DE80C6

Accessibility & contrast

On white

5.55
#B52F92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#B52F92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52F92
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52F92#FFFFFF#000000##FFFFFF
##B52F921.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395B95
Deuteranopia (green-blind)
#64708F
Tritanopia (blue-blind)
#C0335D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b52f92;
/* rgb */ color: rgb(181, 47, 146);
/* oklch */ color: oklch(54.5% 0.197 340.6);
Tailwind
colors: {
  custom: {
    50: '#cf75b2',
    500: '#b52f92',
    950: '#000000',
  },
}
SCSS
$custom: #b52f92;
$custom-light: #cf75b2;
$custom-dark: #000000;
JSON
{
  "hex": "#b52f92",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 315.672,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54457,
    "c": 0.19723,
    "h": 340.6
  },
  "luminance": 0.13932
}

Semantic roles & 50–950 ramp

primary
#B52F92
secondary
#79C78D
accent
#E26F46
background
#FDF7FA
surface
#FAEEF5
border
#D3C9CF
text
#140911
muted
#837B80

Preview Lab

Preview with #B52F92

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

Preview Lab → · Contrast checker → · Palette generator →

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