#B52A82#B52A82

#B52A82 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.3% C 0.193 H 347.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#B52A82
RGBrgb(181, 42, 130)
HSLhsl(322, 62%, 44%)
HSVhsv(322, 77%, 71%)
CMYKcmyk(0%, 76.8%, 28.2%, 29%)
CIE-LABlab(42.90, 61.75, -16.48)
CIE-LCHlch(42.90, 63.91, 345.06°)
OKLaboklab(53.34% 0.188 -0.0435)
OKLCHoklch(53.34% 0.193 347)
XYZxyz(23.9144, 13.0941, 22.3828)
Luminance0.1309 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52A82 #2AB55D
analogous
#A22AB5 #B52A82 #B52A3D
triadic
#B52A82 #82B52A #2A82B5
tetradic
#B52A82 #B5A22A #2AB55D #2A3DB5
square
#B52A82 #B5A22A #2AB55D #2A3DB5
split-complementary
#B52A82 #3DB52A #2AB5A2
monochromatic
#52133B #831E5E #B52A82 #D448A1 #E079BA

Accessibility & contrast

On white

5.80
#B52A82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B52A82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52A82
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52A82#FFFFFF#000000##FFFFFF
##B52A821.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5684
Deuteranopia (green-blind)
#686E7F
Tritanopia (blue-blind)
#C22553
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b52a82;
/* rgb */ color: rgb(181, 42, 130);
/* oklch */ color: oklch(53.3% 0.193 347.0);
Tailwind
colors: {
  custom: {
    50: '#d072a6',
    500: '#b52a82',
    950: '#000000',
  },
}
SCSS
$custom: #b52a82;
$custom-light: #d072a6;
$custom-dark: #000000;
JSON
{
  "hex": "#b52a82",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 130
  },
  "hsl": {
    "h": 322.014,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53339,
    "c": 0.19296,
    "h": 347
  },
  "luminance": 0.13091
}

Semantic roles & 50–950 ramp

primary
#B52A82
secondary
#73C892
accent
#E57E42
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#15090F
muted
#837B7F

Preview Lab

Preview with #B52A82

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

Preview Lab → · Contrast checker → · Palette generator →

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