#B52A97#B52A97

#B52A97 is a mid, highly saturated pink. Relative luminance 0.137; OKLCH L 54.3% C 0.206 H 338.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#B52A97
RGBrgb(181, 42, 151)
HSLhsl(313, 62%, 44%)
HSVhsv(313, 77%, 71%)
CMYKcmyk(0%, 76.8%, 16.6%, 29%)
CIE-LABlab(43.82, 64.50, -27.83)
CIE-LCHlch(43.82, 70.24, 336.66°)
OKLaboklab(54.3% 0.1914 -0.0755)
OKLCHoklch(54.3% 0.206 338.5)
XYZxyz(25.4706, 13.7165, 30.5783)
Luminance0.1371 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52A97 #2AB548
analogous
#8D2AB5 #B52A97 #B52A51
triadic
#B52A97 #97B52A #2A97B5
tetradic
#B52A97 #B58D2A #2AB548 #2A51B5
square
#B52A97 #B58D2A #2AB548 #2A51B5
split-complementary
#B52A97 #51B52A #2AB58D
monochromatic
#521344 #831E6E #B52A97 #D448B6 #E079CA

Accessibility & contrast

On white

5.61
#B52A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#B52A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52A97
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52A97#FFFFFF#000000##FFFFFF
##B52A971.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325A9A
Deuteranopia (green-blind)
#616F94
Tritanopia (blue-blind)
#BF315E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b52a97;
/* rgb */ color: rgb(181, 42, 151);
/* oklch */ color: oklch(54.3% 0.206 338.5);
Tailwind
colors: {
  custom: {
    50: '#cf73b6',
    500: '#b52a97',
    950: '#000000',
  },
}
SCSS
$custom: #b52a97;
$custom-light: #cf73b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b52a97",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 312.95,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54304,
    "c": 0.20572,
    "h": 338.5
  },
  "luminance": 0.13714
}

Semantic roles & 50–950 ramp

primary
#B52A97
secondary
#73C885
accent
#E56642
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52A97

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

Preview Lab → · Contrast checker → · Palette generator →

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