#B52A9B#B52A9B

#B52A9B is a mid, highly saturated pink. Relative luminance 0.138; OKLCH L 54.5% C 0.208 H 337.0°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#B52A9B
RGBrgb(181, 42, 155)
HSLhsl(311, 62%, 44%)
HSVhsv(311, 77%, 71%)
CMYKcmyk(0%, 76.8%, 14.4%, 29%)
CIE-LABlab(44.02, 65.06, -29.94)
CIE-LCHlch(44.02, 71.62, 335.29°)
OKLaboklab(54.5% 0.1918 -0.0815)
OKLCHoklch(54.5% 0.208 337)
XYZxyz(25.8009, 13.8487, 32.3182)
Luminance0.1385 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52A9B #2AB544
analogous
#892AB5 #B52A9B #B52A55
triadic
#B52A9B #9BB52A #2A9BB5
tetradic
#B52A9B #B5892A #2AB544 #2A55B5
square
#B52A9B #B5892A #2AB544 #2A55B5
split-complementary
#B52A9B #55B52A #2AB589
monochromatic
#521346 #831E70 #B52A9B #D448BA #E079CD

Accessibility & contrast

On white

5.57
#B52A9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#B52A9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52A9B
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52A9B#FFFFFF#000000##FFFFFF
##B52A9B1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5B9E
Deuteranopia (green-blind)
#5F7098
Tritanopia (blue-blind)
#BF3360
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b52a9b;
/* rgb */ color: rgb(181, 42, 155);
/* oklch */ color: oklch(54.5% 0.208 337.0);
Tailwind
colors: {
  custom: {
    50: '#cf73b9',
    500: '#b52a9b',
    950: '#000000',
  },
}
SCSS
$custom: #b52a9b;
$custom-light: #cf73b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b52a9b",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 155
  },
  "hsl": {
    "h": 311.223,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54504,
    "c": 0.20838,
    "h": 337
  },
  "luminance": 0.13846
}

Semantic roles & 50–950 ramp

primary
#B52A9B
secondary
#73C883
accent
#E56142
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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