#B52A96#B52A96

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

Color values

HEX#B52A96
RGBrgb(181, 42, 150)
HSLhsl(313, 62%, 44%)
HSVhsv(313, 77%, 71%)
CMYKcmyk(0%, 76.8%, 17.1%, 29%)
CIE-LABlab(43.78, 64.36, -27.30)
CIE-LCHlch(43.78, 69.91, 337.01°)
OKLaboklab(54.26% 0.1913 -0.074)
OKLCHoklch(54.26% 0.205 338.9)
XYZxyz(25.3897, 13.6842, 30.1524)
Luminance0.1368 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52A96 #2AB549
analogous
#8E2AB5 #B52A96 #B52A50
triadic
#B52A96 #96B52A #2A96B5
tetradic
#B52A96 #B58E2A #2AB549 #2A50B5
square
#B52A96 #B58E2A #2AB549 #2A50B5
split-complementary
#B52A96 #50B52A #2AB58E
monochromatic
#521344 #831E6D #B52A96 #D448B5 #E079C9

Accessibility & contrast

On white

5.62
#B52A96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B52A96
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52A96#FFFFFF#000000##FFFFFF
##B52A961.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325A99
Deuteranopia (green-blind)
#616F93
Tritanopia (blue-blind)
#BF315E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b52a96;
/* rgb */ color: rgb(181, 42, 150);
/* oklch */ color: oklch(54.3% 0.205 338.9);
Tailwind
colors: {
  custom: {
    50: '#cf73b5',
    500: '#b52a96',
    950: '#000000',
  },
}
SCSS
$custom: #b52a96;
$custom-light: #cf73b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b52a96",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 313.381,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54255,
    "c": 0.20507,
    "h": 338.9
  },
  "luminance": 0.13682
}

Semantic roles & 50–950 ramp

primary
#B52A96
secondary
#73C886
accent
#E56742
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52A96

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

Preview Lab → · Contrast checker → · Palette generator →

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