#B52898#B52898

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

Color values

HEX#B52898
RGBrgb(181, 40, 152)
HSLhsl(312, 64%, 43%)
HSVhsv(312, 78%, 71%)
CMYKcmyk(0%, 77.9%, 16%, 29%)
CIE-LABlab(43.67, 65.21, -28.67)
CIE-LCHlch(43.67, 71.24, 336.27°)
OKLaboklab(54.21% 0.1932 -0.0779)
OKLCHoklch(54.21% 0.208 338)
XYZxyz(25.4829, 13.6108, 30.9848)
Luminance0.1361 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52898 #28B545
analogous
#8B28B5 #B52898 #B52852
triadic
#B52898 #98B528 #2898B5
tetradic
#B52898 #B58B28 #28B545 #2852B5
square
#B52898 #B58B28 #28B545 #2852B5
split-complementary
#B52898 #52B528 #28B58B
monochromatic
#511244 #831D6E #B52898 #D644B8 #E177CB

Accessibility & contrast

On white

5.64
#B52898 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B52898
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52898#FFFFFF#000000##FFFFFF
##B528981.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F599B
Deuteranopia (green-blind)
#606F95
Tritanopia (blue-blind)
#BF305E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b52898;
/* rgb */ color: rgb(181, 40, 152);
/* oklch */ color: oklch(54.2% 0.208 338.0);
Tailwind
colors: {
  custom: {
    50: '#cf72b6',
    500: '#b52898',
    950: '#000000',
  },
}
SCSS
$custom: #b52898;
$custom-light: #cf72b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b52898",
  "rgb": {
    "r": 181,
    "g": 40,
    "b": 152
  },
  "hsl": {
    "h": 312.34,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54208,
    "c": 0.20832,
    "h": 338
  },
  "luminance": 0.13608
}

Semantic roles & 50–950 ramp

primary
#B52898
secondary
#70C882
accent
#E76341
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52898

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

Preview Lab → · Contrast checker → · Palette generator →

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