#B52A8A#B52A8A

#B52A8A is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.7% C 0.198 H 343.6°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#B52A8A
RGBrgb(181, 42, 138)
HSLhsl(319, 62%, 44%)
HSVhsv(319, 77%, 71%)
CMYKcmyk(0%, 76.8%, 23.8%, 29%)
CIE-LABlab(43.24, 62.76, -20.86)
CIE-LCHlch(43.24, 66.13, 341.62°)
OKLaboklab(53.69% 0.1895 -0.0558)
OKLCHoklch(53.69% 0.198 343.6)
XYZxyz(24.4724, 13.3173, 25.3215)
Luminance0.1331 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52A8A #2AB555
analogous
#9A2AB5 #B52A8A #B52A44
triadic
#B52A8A #8AB52A #2A8AB5
tetradic
#B52A8A #B59A2A #2AB555 #2A44B5
square
#B52A8A #B59A2A #2AB555 #2A44B5
split-complementary
#B52A8A #44B52A #2AB59A
monochromatic
#52133E #831E64 #B52A8A #D448A9 #E079C0

Accessibility & contrast

On white

5.73
#B52A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B52A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52A8A
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52A8A#FFFFFF#000000##FFFFFF
##B52A8A1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A578D
Deuteranopia (green-blind)
#666E87
Tritanopia (blue-blind)
#C12A57
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b52a8a;
/* rgb */ color: rgb(181, 42, 138);
/* oklch */ color: oklch(53.7% 0.198 343.6);
Tailwind
colors: {
  custom: {
    50: '#cf72ac',
    500: '#b52a8a',
    950: '#000000',
  },
}
SCSS
$custom: #b52a8a;
$custom-light: #cf72ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b52a8a",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 318.561,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53689,
    "c": 0.19756,
    "h": 343.6
  },
  "luminance": 0.13315
}

Semantic roles & 50–950 ramp

primary
#B52A8A
secondary
#73C88D
accent
#E57542
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B52A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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