#B52A71#B52A71

#B52A71 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.7% C 0.185 H 354.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#B52A71
RGBrgb(181, 42, 113)
HSLhsl(329, 62%, 44%)
HSVhsv(329, 77%, 71%)
CMYKcmyk(0%, 76.8%, 37.6%, 29%)
CIE-LABlab(42.27, 59.81, -6.94)
CIE-LCHlch(42.27, 60.21, 353.38°)
OKLaboklab(52.67% 0.1837 -0.0176)
OKLCHoklch(52.67% 0.185 354.5)
XYZxyz(22.8662, 12.6748, 16.8619)
Luminance0.1267 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52A71 #2AB56E
analogous
#B32AB5 #B52A71 #B52A2B
triadic
#B52A71 #71B52A #2A71B5
tetradic
#B52A71 #B5B32A #2AB56E #2A2BB5
square
#B52A71 #B5B32A #2AB56E #2A2BB5
split-complementary
#B52A71 #2BB52A #2AB5B3
monochromatic
#521333 #831E52 #B52A71 #D44890 #E079AE

Accessibility & contrast

On white

5.94
#B52A71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#B52A71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52A71
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52A71#FFFFFF#000000##FFFFFF
##B52A711.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465373
Deuteranopia (green-blind)
#6D6D6E
Tritanopia (blue-blind)
#C3194A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b52a71;
/* rgb */ color: rgb(181, 42, 113);
/* oklch */ color: oklch(52.7% 0.185 354.5);
Tailwind
colors: {
  custom: {
    50: '#d07299',
    500: '#b52a71',
    950: '#000000',
  },
}
SCSS
$custom: #b52a71;
$custom-light: #d07299;
$custom-dark: #000000;
JSON
{
  "hex": "#b52a71",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 329.353,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52668,
    "c": 0.18456,
    "h": 354.5
  },
  "luminance": 0.12672
}

Semantic roles & 50–950 ramp

primary
#B52A71
secondary
#73C89C
accent
#E59242
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B52A71

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

Preview Lab → · Contrast checker → · Palette generator →

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