#B52899#B52899

#B52899 is a mid, highly saturated pink. Relative luminance 0.136; OKLCH L 54.3% C 0.209 H 337.7°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#B52899
RGBrgb(181, 40, 153)
HSLhsl(312, 64%, 43%)
HSVhsv(312, 78%, 71%)
CMYKcmyk(0%, 77.9%, 15.5%, 29%)
CIE-LABlab(43.72, 65.35, -29.20)
CIE-LCHlch(43.72, 71.58, 335.92°)
OKLaboklab(54.26% 0.1933 -0.0794)
OKLCHoklch(54.26% 0.209 337.7)
XYZxyz(25.5652, 13.6437, 31.4179)
Luminance0.1364 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52899 #28B544
analogous
#8A28B5 #B52899 #B52852
triadic
#B52899 #99B528 #2899B5
tetradic
#B52899 #B58A28 #28B544 #2852B5
square
#B52899 #B58A28 #28B544 #2852B5
split-complementary
#B52899 #52B528 #28B58A
monochromatic
#511244 #831D6F #B52899 #D644B9 #E177CC

Accessibility & contrast

On white

5.63
#B52899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#B52899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52899
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52899#FFFFFF#000000##FFFFFF
##B528991.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5A9C
Deuteranopia (green-blind)
#5F6F96
Tritanopia (blue-blind)
#BF315F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b52899;
/* rgb */ color: rgb(181, 40, 153);
/* oklch */ color: oklch(54.3% 0.209 337.7);
Tailwind
colors: {
  custom: {
    50: '#cf72b7',
    500: '#b52899',
    950: '#000000',
  },
}
SCSS
$custom: #b52899;
$custom-light: #cf72b7;
$custom-dark: #000000;
JSON
{
  "hex": "#b52899",
  "rgb": {
    "r": 181,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 311.915,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54259,
    "c": 0.20899,
    "h": 337.7
  },
  "luminance": 0.13641
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B52899

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

Preview Lab → · Contrast checker → · Palette generator →

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