#B52A7C#B52A7C

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

Color values

HEX#B52A7C
RGBrgb(181, 42, 124)
HSLhsl(325, 62%, 44%)
HSVhsv(325, 77%, 71%)
CMYKcmyk(0%, 76.8%, 31.5%, 29%)
CIE-LABlab(42.67, 61.04, -13.14)
CIE-LCHlch(42.67, 62.44, 347.85°)
OKLaboklab(53.09% 0.1866 -0.0344)
OKLCHoklch(53.09% 0.19 349.6)
XYZxyz(23.5234, 12.9377, 20.3233)
Luminance0.1293 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52A7C #2AB563
analogous
#A82AB5 #B52A7C #B52A36
triadic
#B52A7C #7CB52A #2A7CB5
tetradic
#B52A7C #B5A82A #2AB563 #2A36B5
square
#B52A7C #B5A82A #2AB563 #2A36B5
split-complementary
#B52A7C #36B52A #2AB5A8
monochromatic
#521338 #831E5A #B52A7C #D4489B #E079B6

Accessibility & contrast

On white

5.85
#B52A7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#B52A7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52A7C
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52A7C#FFFFFF#000000##FFFFFF
##B52A7C1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41557E
Deuteranopia (green-blind)
#6A6E79
Tritanopia (blue-blind)
#C22150
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b52a7c;
/* rgb */ color: rgb(181, 42, 124);
/* oklch */ color: oklch(53.1% 0.190 349.6);
Tailwind
colors: {
  custom: {
    50: '#d072a2',
    500: '#b52a7c',
    950: '#000000',
  },
}
SCSS
$custom: #b52a7c;
$custom-light: #d072a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b52a7c",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 124
  },
  "hsl": {
    "h": 324.604,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53091,
    "c": 0.18977,
    "h": 349.6
  },
  "luminance": 0.12935
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B52A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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