#B52896#B52896

#B52896 is a mid, highly saturated pink. Relative luminance 0.135; OKLCH L 54.1% C 0.207 H 338.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#B52896
RGBrgb(181, 40, 150)
HSLhsl(313, 64%, 43%)
HSVhsv(313, 78%, 71%)
CMYKcmyk(0%, 77.9%, 17.1%, 29%)
CIE-LABlab(43.57, 64.94, -27.61)
CIE-LCHlch(43.57, 70.56, 336.96°)
OKLaboklab(54.11% 0.193 -0.0749)
OKLCHoklch(54.11% 0.207 338.8)
XYZxyz(25.3205, 13.5459, 30.1294)
Luminance0.1354 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52896 #28B547
analogous
#8D28B5 #B52896 #B52850
triadic
#B52896 #96B528 #2896B5
tetradic
#B52896 #B58D28 #28B547 #2850B5
square
#B52896 #B58D28 #28B547 #2850B5
split-complementary
#B52896 #50B528 #28B58D
monochromatic
#511243 #831D6C #B52896 #D644B6 #E177C9

Accessibility & contrast

On white

5.66
#B52896 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#B52896 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52896
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52896#FFFFFF#000000##FFFFFF
##B528961.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315999
Deuteranopia (green-blind)
#616F93
Tritanopia (blue-blind)
#BF2F5D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b52896;
/* rgb */ color: rgb(181, 40, 150);
/* oklch */ color: oklch(54.1% 0.207 338.8);
Tailwind
colors: {
  custom: {
    50: '#cf72b5',
    500: '#b52896',
    950: '#000000',
  },
}
SCSS
$custom: #b52896;
$custom-light: #cf72b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b52896",
  "rgb": {
    "r": 181,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 313.191,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54109,
    "c": 0.20702,
    "h": 338.8
  },
  "luminance": 0.13543
}

Semantic roles & 50–950 ramp

primary
#B52896
secondary
#70C884
accent
#E76541
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52896

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

Preview Lab → · Contrast checker → · Palette generator →

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