#B52A87#B52A87

#B52A87 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.6% C 0.196 H 344.8°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#B52A87
RGBrgb(181, 42, 135)
HSLhsl(320, 62%, 44%)
HSVhsv(320, 77%, 71%)
CMYKcmyk(0%, 76.8%, 25.4%, 29%)
CIE-LABlab(43.11, 62.37, -19.22)
CIE-LCHlch(43.11, 65.27, 342.87°)
OKLaboklab(53.56% 0.189 -0.0512)
OKLCHoklch(53.56% 0.196 344.8)
XYZxyz(24.2582, 13.2316, 24.1934)
Luminance0.1323 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52A87 #2AB558
analogous
#9D2AB5 #B52A87 #B52A41
triadic
#B52A87 #87B52A #2A87B5
tetradic
#B52A87 #B59D2A #2AB558 #2A41B5
square
#B52A87 #B59D2A #2AB558 #2A41B5
split-complementary
#B52A87 #41B52A #2AB59D
monochromatic
#52133D #831E62 #B52A87 #D448A6 #E079BE

Accessibility & contrast

On white

5.76
#B52A87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B52A87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52A87
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52A87#FFFFFF#000000##FFFFFF
##B52A871.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5789
Deuteranopia (green-blind)
#676E84
Tritanopia (blue-blind)
#C12855
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b52a87;
/* rgb */ color: rgb(181, 42, 135);
/* oklch */ color: oklch(53.6% 0.196 344.8);
Tailwind
colors: {
  custom: {
    50: '#cf72aa',
    500: '#b52a87',
    950: '#000000',
  },
}
SCSS
$custom: #b52a87;
$custom-light: #cf72aa;
$custom-dark: #000000;
JSON
{
  "hex": "#b52a87",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 135
  },
  "hsl": {
    "h": 319.856,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53555,
    "c": 0.19579,
    "h": 344.8
  },
  "luminance": 0.13229
}

Semantic roles & 50–950 ramp

primary
#B52A87
secondary
#73C88F
accent
#E57842
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B52A87

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

Preview Lab → · Contrast checker → · Palette generator →

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