#B52891#B52891

#B52891 is a mid, highly saturated pink. Relative luminance 0.134; OKLCH L 53.9% C 0.204 H 340.7°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B52891
RGBrgb(181, 40, 145)
HSLhsl(315, 64%, 43%)
HSVhsv(315, 78%, 71%)
CMYKcmyk(0%, 77.9%, 19.9%, 29%)
CIE-LABlab(43.34, 64.26, -24.95)
CIE-LCHlch(43.34, 68.93, 338.78°)
OKLaboklab(53.87% 0.1924 -0.0673)
OKLCHoklch(53.87% 0.204 340.7)
XYZxyz(24.9265, 13.3882, 28.0540)
Luminance0.1339 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52891 #28B54C
analogous
#9228B5 #B52891 #B5284A
triadic
#B52891 #91B528 #2891B5
tetradic
#B52891 #B59228 #28B54C #284AB5
square
#B52891 #B59228 #28B54C #284AB5
split-complementary
#B52891 #4AB528 #28B592
monochromatic
#511241 #831D69 #B52891 #D644B1 #E177C6

Accessibility & contrast

On white

5.71
#B52891 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B52891 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52891
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52891#FFFFFF#000000##FFFFFF
##B528911.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345894
Deuteranopia (green-blind)
#626E8E
Tritanopia (blue-blind)
#C02C5A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b52891;
/* rgb */ color: rgb(181, 40, 145);
/* oklch */ color: oklch(53.9% 0.204 340.7);
Tailwind
colors: {
  custom: {
    50: '#cf72b1',
    500: '#b52891',
    950: '#000000',
  },
}
SCSS
$custom: #b52891;
$custom-light: #cf72b1;
$custom-dark: #000000;
JSON
{
  "hex": "#b52891",
  "rgb": {
    "r": 181,
    "g": 40,
    "b": 145
  },
  "hsl": {
    "h": 315.319,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53866,
    "c": 0.20383,
    "h": 340.7
  },
  "luminance": 0.13386
}

Semantic roles & 50–950 ramp

primary
#B52891
secondary
#70C887
accent
#E76B41
background
#FDF7FA
surface
#FAEDF5
border
#D3C8CF
text
#140910
muted
#837B7F

Preview Lab

Preview with #B52891

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

Preview Lab → · Contrast checker → · Palette generator →

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