#B52991#B52991

#B52991 is a mid, highly saturated pink. Relative luminance 0.135; OKLCH L 53.9% C 0.203 H 340.8°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#B52991
RGBrgb(181, 41, 145)
HSLhsl(315, 63%, 44%)
HSVhsv(315, 77%, 71%)
CMYKcmyk(0%, 77.3%, 19.9%, 29%)
CIE-LABlab(43.44, 63.97, -24.79)
CIE-LCHlch(43.44, 68.61, 338.81°)
OKLaboklab(53.94% 0.1915 -0.0669)
OKLCHoklch(53.94% 0.203 340.8)
XYZxyz(24.9606, 13.4565, 28.0654)
Luminance0.1345 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52991 #29B54D
analogous
#9329B5 #B52991 #B5294B
triadic
#B52991 #91B529 #2991B5
tetradic
#B52991 #B59329 #29B54D #294BB5
square
#B52991 #B59329 #29B54D #294BB5
split-complementary
#B52991 #4BB529 #29B593
monochromatic
#511241 #831E69 #B52991 #D546B0 #E078C6

Accessibility & contrast

On white

5.69
#B52991 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#B52991 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52991
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52991#FFFFFF#000000##FFFFFF
##B529911.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355894
Deuteranopia (green-blind)
#636F8E
Tritanopia (blue-blind)
#C02D5B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b52991;
/* rgb */ color: rgb(181, 41, 145);
/* oklch */ color: oklch(53.9% 0.203 340.8);
Tailwind
colors: {
  custom: {
    50: '#cf72b1',
    500: '#b52991',
    950: '#000000',
  },
}
SCSS
$custom: #b52991;
$custom-light: #cf72b1;
$custom-dark: #000000;
JSON
{
  "hex": "#b52991",
  "rgb": {
    "r": 181,
    "g": 41,
    "b": 145
  },
  "hsl": {
    "h": 315.429,
    "s": 63.063,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53939,
    "c": 0.20286,
    "h": 340.8
  },
  "luminance": 0.13454
}

Semantic roles & 50–950 ramp

primary
#B52991
secondary
#72C888
accent
#E66C42
background
#FDF7FA
surface
#FAEDF5
border
#D3C8CF
text
#140910
muted
#837B7F

Preview Lab

Preview with #B52991

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

Preview Lab → · Contrast checker → · Palette generator →

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