#B52A78#B52A78

#B52A78 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.9% C 0.188 H 351.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#B52A78
RGBrgb(181, 42, 120)
HSLhsl(326, 62%, 44%)
HSVhsv(326, 77%, 71%)
CMYKcmyk(0%, 76.8%, 33.7%, 29%)
CIE-LABlab(42.52, 60.58, -10.90)
CIE-LCHlch(42.52, 61.55, 349.80°)
OKLaboklab(52.93% 0.1856 -0.0282)
OKLCHoklch(52.93% 0.188 351.3)
XYZxyz(23.2756, 12.8385, 19.0180)
Luminance0.1284 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52A78 #2AB567
analogous
#AC2AB5 #B52A78 #B52A32
triadic
#B52A78 #78B52A #2A78B5
tetradic
#B52A78 #B5AC2A #2AB567 #2A32B5
square
#B52A78 #B5AC2A #2AB567 #2A32B5
split-complementary
#B52A78 #32B52A #2AB5AC
monochromatic
#521336 #831E57 #B52A78 #D44897 #E079B3

Accessibility & contrast

On white

5.89
#B52A78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#B52A78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52A78
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52A78#FFFFFF#000000##FFFFFF
##B52A781.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43557A
Deuteranopia (green-blind)
#6B6D75
Tritanopia (blue-blind)
#C31E4E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b52a78;
/* rgb */ color: rgb(181, 42, 120);
/* oklch */ color: oklch(52.9% 0.188 351.3);
Tailwind
colors: {
  custom: {
    50: '#d0729f',
    500: '#b52a78',
    950: '#000000',
  },
}
SCSS
$custom: #b52a78;
$custom-light: #d0729f;
$custom-dark: #000000;
JSON
{
  "hex": "#b52a78",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 120
  },
  "hsl": {
    "h": 326.331,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52932,
    "c": 0.18777,
    "h": 351.3
  },
  "luminance": 0.12836
}

Semantic roles & 50–950 ramp

primary
#B52A78
secondary
#73C898
accent
#E58A42
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B52A78

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

Preview Lab → · Contrast checker → · Palette generator →

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