#B52A8D#B52A8D

#B52A8D is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.8% C 0.199 H 342.4°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B52A8D
RGBrgb(181, 42, 141)
HSLhsl(317, 62%, 44%)
HSVhsv(317, 77%, 71%)
CMYKcmyk(0%, 76.8%, 22.1%, 29%)
CIE-LABlab(43.37, 63.14, -22.48)
CIE-LCHlch(43.37, 67.03, 340.40°)
OKLaboklab(53.83% 0.19 -0.0603)
OKLCHoklch(53.83% 0.199 342.4)
XYZxyz(24.6926, 13.4054, 26.4812)
Luminance0.1340 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52A8D #2AB552
analogous
#972AB5 #B52A8D #B52A47
triadic
#B52A8D #8DB52A #2A8DB5
tetradic
#B52A8D #B5972A #2AB552 #2A47B5
square
#B52A8D #B5972A #2AB552 #2A47B5
split-complementary
#B52A8D #47B52A #2AB597
monochromatic
#521340 #831E66 #B52A8D #D448AC #E079C2

Accessibility & contrast

On white

5.71
#B52A8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B52A8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52A8D
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52A8D#FFFFFF#000000##FFFFFF
##B52A8D1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385890
Deuteranopia (green-blind)
#656F8A
Tritanopia (blue-blind)
#C12B59
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b52a8d;
/* rgb */ color: rgb(181, 42, 141);
/* oklch */ color: oklch(53.8% 0.199 342.4);
Tailwind
colors: {
  custom: {
    50: '#cf72ae',
    500: '#b52a8d',
    950: '#000000',
  },
}
SCSS
$custom: #b52a8d;
$custom-light: #cf72ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b52a8d",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 141
  },
  "hsl": {
    "h": 317.266,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53826,
    "c": 0.19938,
    "h": 342.4
  },
  "luminance": 0.13403
}

Semantic roles & 50–950 ramp

primary
#B52A8D
secondary
#73C88B
accent
#E57142
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B52A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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