#B52A9A#B52A9A

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

Color values

HEX#B52A9A
RGBrgb(181, 42, 154)
HSLhsl(312, 62%, 44%)
HSVhsv(312, 77%, 71%)
CMYKcmyk(0%, 76.8%, 14.9%, 29%)
CIE-LABlab(43.97, 64.92, -29.41)
CIE-LCHlch(43.97, 71.27, 335.63°)
OKLaboklab(54.45% 0.1917 -0.08)
OKLCHoklch(54.45% 0.208 337.3)
XYZxyz(25.7173, 13.8152, 31.8778)
Luminance0.1381 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52A9A #2AB545
analogous
#8A2AB5 #B52A9A #B52A54
triadic
#B52A9A #9AB52A #2A9AB5
tetradic
#B52A9A #B58A2A #2AB545 #2A54B5
square
#B52A9A #B58A2A #2AB545 #2A54B5
split-complementary
#B52A9A #54B52A #2AB58A
monochromatic
#521345 #831E70 #B52A9A #D448B9 #E079CC

Accessibility & contrast

On white

5.58
#B52A9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#B52A9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52A9A
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52A9A#FFFFFF#000000##FFFFFF
##B52A9A1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5A9D
Deuteranopia (green-blind)
#606F97
Tritanopia (blue-blind)
#BF3360
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b52a9a;
/* rgb */ color: rgb(181, 42, 154);
/* oklch */ color: oklch(54.5% 0.208 337.3);
Tailwind
colors: {
  custom: {
    50: '#cf73b8',
    500: '#b52a9a',
    950: '#000000',
  },
}
SCSS
$custom: #b52a9a;
$custom-light: #cf73b8;
$custom-dark: #000000;
JSON
{
  "hex": "#b52a9a",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 154
  },
  "hsl": {
    "h": 311.655,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54454,
    "c": 0.20772,
    "h": 337.3
  },
  "luminance": 0.13813
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B52A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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