#B52B8A#B52B8A

#B52B8A is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.8% C 0.197 H 343.7°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B52B8A
RGBrgb(181, 43, 138)
HSLhsl(319, 62%, 44%)
HSVhsv(319, 76%, 71%)
CMYKcmyk(0%, 76.2%, 23.8%, 29%)
CIE-LABlab(43.34, 62.45, -20.69)
CIE-LCHlch(43.34, 65.79, 341.67°)
OKLaboklab(53.77% 0.1886 -0.0553)
OKLCHoklch(53.77% 0.197 343.7)
XYZxyz(24.5083, 13.3891, 25.3335)
Luminance0.1339 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52B8A #2BB556
analogous
#9B2BB5 #B52B8A #B52B45
triadic
#B52B8A #8AB52B #2B8AB5
tetradic
#B52B8A #B59B2B #2BB556 #2B45B5
square
#B52B8A #B59B2B #2BB556 #2B45B5
split-complementary
#B52B8A #45B52B #2BB59B
monochromatic
#52143F #841F64 #B52B8A #D449A9 #E07BC0

Accessibility & contrast

On white

5.71
#B52B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B52B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52B8A
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52B8A#FFFFFF#000000##FFFFFF
##B52B8A1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B588D
Deuteranopia (green-blind)
#666F87
Tritanopia (blue-blind)
#C12B57
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b52b8a;
/* rgb */ color: rgb(181, 43, 138);
/* oklch */ color: oklch(53.8% 0.197 343.7);
Tailwind
colors: {
  custom: {
    50: '#cf73ac',
    500: '#b52b8a',
    950: '#000000',
  },
}
SCSS
$custom: #b52b8a;
$custom-light: #cf73ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b52b8a",
  "rgb": {
    "r": 181,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 318.696,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53766,
    "c": 0.19654,
    "h": 343.7
  },
  "luminance": 0.13386
}

Semantic roles & 50–950 ramp

primary
#B52B8A
secondary
#74C88E
accent
#E57543
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B52B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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