#B52A77#B52A77

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

Color values

HEX#B52A77
RGBrgb(181, 42, 119)
HSLhsl(327, 62%, 44%)
HSVhsv(327, 77%, 71%)
CMYKcmyk(0%, 76.8%, 34.3%, 29%)
CIE-LABlab(42.48, 60.47, -10.34)
CIE-LCHlch(42.48, 61.35, 350.30°)
OKLaboklab(52.89% 0.1854 -0.0267)
OKLCHoklch(52.89% 0.187 351.8)
XYZxyz(23.2152, 12.8144, 18.7001)
Luminance0.1281 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52A77 #2AB568
analogous
#AD2AB5 #B52A77 #B52A31
triadic
#B52A77 #77B52A #2A77B5
tetradic
#B52A77 #B5AD2A #2AB568 #2A31B5
square
#B52A77 #B5AD2A #2AB568 #2A31B5
split-complementary
#B52A77 #31B52A #2AB5AD
monochromatic
#521336 #831E56 #B52A77 #D44896 #E079B2

Accessibility & contrast

On white

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

On black

3.56
#B52A77 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B52A77#FFFFFF#000000##FFFFFF
##B52A771.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435479
Deuteranopia (green-blind)
#6B6D74
Tritanopia (blue-blind)
#C31D4D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b52a77;
/* rgb */ color: rgb(181, 42, 119);
/* oklch */ color: oklch(52.9% 0.187 351.8);
Tailwind
colors: {
  custom: {
    50: '#d0729e',
    500: '#b52a77',
    950: '#000000',
  },
}
SCSS
$custom: #b52a77;
$custom-light: #d0729e;
$custom-dark: #000000;
JSON
{
  "hex": "#b52a77",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 119
  },
  "hsl": {
    "h": 326.763,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52893,
    "c": 0.18729,
    "h": 351.8
  },
  "luminance": 0.12812
}

Semantic roles & 50–950 ramp

primary
#B52A77
secondary
#73C899
accent
#E58B42
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B52A77

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

Preview Lab → · Contrast checker → · Palette generator →

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