#B52A79#B52A79

#B52A79 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.0% C 0.188 H 350.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#B52A79
RGBrgb(181, 42, 121)
HSLhsl(326, 62%, 44%)
HSVhsv(326, 77%, 71%)
CMYKcmyk(0%, 76.8%, 33.1%, 29%)
CIE-LABlab(42.56, 60.69, -11.46)
CIE-LCHlch(42.56, 61.77, 349.30°)
OKLaboklab(52.97% 0.1859 -0.0298)
OKLCHoklch(52.97% 0.188 350.9)
XYZxyz(23.3366, 12.8629, 19.3393)
Luminance0.1286 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52A79 #2AB566
analogous
#AB2AB5 #B52A79 #B52A33
triadic
#B52A79 #79B52A #2A79B5
tetradic
#B52A79 #B5AB2A #2AB566 #2A33B5
square
#B52A79 #B5AB2A #2AB566 #2A33B5
split-complementary
#B52A79 #33B52A #2AB5AB
monochromatic
#521337 #831E58 #B52A79 #D44898 #E079B4

Accessibility & contrast

On white

5.88
#B52A79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B52A79
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52A79#FFFFFF#000000##FFFFFF
##B52A791.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43557B
Deuteranopia (green-blind)
#6B6D76
Tritanopia (blue-blind)
#C31F4E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b52a79;
/* rgb */ color: rgb(181, 42, 121);
/* oklch */ color: oklch(53.0% 0.188 350.9);
Tailwind
colors: {
  custom: {
    50: '#d0729f',
    500: '#b52a79',
    950: '#000000',
  },
}
SCSS
$custom: #b52a79;
$custom-light: #d0729f;
$custom-dark: #000000;
JSON
{
  "hex": "#b52a79",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 121
  },
  "hsl": {
    "h": 325.899,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52971,
    "c": 0.18826,
    "h": 350.9
  },
  "luminance": 0.1286
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B52A79

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

Preview Lab → · Contrast checker → · Palette generator →

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