#B52897#B52897

#B52897 is a mid, highly saturated pink. Relative luminance 0.136; OKLCH L 54.2% C 0.208 H 338.4°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#B52897
RGBrgb(181, 40, 151)
HSLhsl(313, 64%, 43%)
HSVhsv(313, 78%, 71%)
CMYKcmyk(0%, 77.9%, 16.6%, 29%)
CIE-LABlab(43.62, 65.07, -28.14)
CIE-LCHlch(43.62, 70.90, 336.61°)
OKLaboklab(54.16% 0.1931 -0.0764)
OKLCHoklch(54.16% 0.208 338.4)
XYZxyz(25.4014, 13.5782, 30.5552)
Luminance0.1358 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52897 #28B546
analogous
#8C28B5 #B52897 #B52850
triadic
#B52897 #97B528 #2897B5
tetradic
#B52897 #B58C28 #28B546 #2850B5
square
#B52897 #B58C28 #28B546 #2850B5
split-complementary
#B52897 #50B528 #28B58C
monochromatic
#511243 #831D6D #B52897 #D644B7 #E177CA

Accessibility & contrast

On white

5.65
#B52897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B52897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52897
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52897#FFFFFF#000000##FFFFFF
##B528971.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30599A
Deuteranopia (green-blind)
#606F94
Tritanopia (blue-blind)
#BF305E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b52897;
/* rgb */ color: rgb(181, 40, 151);
/* oklch */ color: oklch(54.2% 0.208 338.4);
Tailwind
colors: {
  custom: {
    50: '#cf72b6',
    500: '#b52897',
    950: '#000000',
  },
}
SCSS
$custom: #b52897;
$custom-light: #cf72b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b52897",
  "rgb": {
    "r": 181,
    "g": 40,
    "b": 151
  },
  "hsl": {
    "h": 312.766,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54159,
    "c": 0.20768,
    "h": 338.4
  },
  "luminance": 0.13576
}

Semantic roles & 50–950 ramp

primary
#B52897
secondary
#70C883
accent
#E76441
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52897

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

Preview Lab → · Contrast checker → · Palette generator →

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