#B52A7B#B52A7B

#B52A7B is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.1% C 0.189 H 350.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#B52A7B
RGBrgb(181, 42, 123)
HSLhsl(325, 62%, 44%)
HSVhsv(325, 77%, 71%)
CMYKcmyk(0%, 76.8%, 32%, 29%)
CIE-LABlab(42.63, 60.92, -12.59)
CIE-LCHlch(42.63, 62.21, 348.33°)
OKLaboklab(53.05% 0.1864 -0.0328)
OKLCHoklch(53.05% 0.189 350)
XYZxyz(23.4605, 12.9125, 19.9920)
Luminance0.1291 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52A7B #2AB564
analogous
#A92AB5 #B52A7B #B52A35
triadic
#B52A7B #7BB52A #2A7BB5
tetradic
#B52A7B #B5A92A #2AB564 #2A35B5
square
#B52A7B #B5A92A #2AB564 #2A35B5
split-complementary
#B52A7B #35B52A #2AB5A9
monochromatic
#521337 #831E59 #B52A7B #D4489A #E079B5

Accessibility & contrast

On white

5.86
#B52A7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B52A7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52A7B
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52A7B#FFFFFF#000000##FFFFFF
##B52A7B1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42557D
Deuteranopia (green-blind)
#6A6D78
Tritanopia (blue-blind)
#C3204F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b52a7b;
/* rgb */ color: rgb(181, 42, 123);
/* oklch */ color: oklch(53.1% 0.189 350.0);
Tailwind
colors: {
  custom: {
    50: '#d072a1',
    500: '#b52a7b',
    950: '#000000',
  },
}
SCSS
$custom: #b52a7b;
$custom-light: #d072a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b52a7b",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 123
  },
  "hsl": {
    "h": 325.036,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53051,
    "c": 0.18926,
    "h": 350
  },
  "luminance": 0.1291
}

Semantic roles & 50–950 ramp

primary
#B52A7B
secondary
#73C896
accent
#E58642
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090F
muted
#837B7E

Preview Lab

Preview with #B52A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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