#B52F95#B52F95

#B52F95 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.6% C 0.199 H 339.4°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B52F95
RGBrgb(181, 47, 149)
HSLhsl(314, 59%, 45%)
HSVhsv(314, 74%, 71%)
CMYKcmyk(0%, 74%, 17.7%, 29%)
CIE-LABlab(44.27, 62.67, -25.92)
CIE-LCHlch(44.27, 67.82, 337.53°)
OKLaboklab(54.6% 0.1865 -0.0701)
OKLCHoklch(54.6% 0.199 339.4)
XYZxyz(25.4980, 14.0292, 29.7930)
Luminance0.1403 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52F95 #2FB54F
analogous
#922FB5 #B52F95 #B52F52
triadic
#B52F95 #95B52F #2F95B5
tetradic
#B52F95 #B5922F #2FB54F #2F52B5
square
#B52F95 #B5922F #2FB54F #2F52B5
split-complementary
#B52F95 #52B52F #2FB592
monochromatic
#541645 #84226D #B52F95 #D150B2 #DE80C8

Accessibility & contrast

On white

5.52
#B52F95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#B52F95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52F95
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52F95#FFFFFF#000000##FFFFFF
##B52F951.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375B98
Deuteranopia (green-blind)
#637092
Tritanopia (blue-blind)
#C0345E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b52f95;
/* rgb */ color: rgb(181, 47, 149);
/* oklch */ color: oklch(54.6% 0.199 339.4);
Tailwind
colors: {
  custom: {
    50: '#cf75b4',
    500: '#b52f95',
    950: '#000000',
  },
}
SCSS
$custom: #b52f95;
$custom-light: #cf75b4;
$custom-dark: #000000;
JSON
{
  "hex": "#b52f95",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 314.328,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54599,
    "c": 0.19919,
    "h": 339.4
  },
  "luminance": 0.14027
}

Semantic roles & 50–950 ramp

primary
#B52F95
secondary
#79C78B
accent
#E26B46
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52F95

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

Preview Lab → · Contrast checker → · Palette generator →

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