#B52A7F#B52A7F

#B52A7F is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.2% C 0.191 H 348.3°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#B52A7F
RGBrgb(181, 42, 127)
HSLhsl(323, 62%, 44%)
HSVhsv(323, 77%, 71%)
CMYKcmyk(0%, 76.8%, 29.8%, 29%)
CIE-LABlab(42.79, 61.39, -14.82)
CIE-LCHlch(42.79, 63.16, 346.43°)
OKLaboklab(53.21% 0.1873 -0.039)
OKLCHoklch(53.21% 0.191 348.3)
XYZxyz(23.7160, 13.0147, 21.3377)
Luminance0.1301 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52A7F #2AB560
analogous
#A52AB5 #B52A7F #B52A3A
triadic
#B52A7F #7FB52A #2A7FB5
tetradic
#B52A7F #B5A52A #2AB560 #2A3AB5
square
#B52A7F #B5A52A #2AB560 #2A3AB5
split-complementary
#B52A7F #3AB52A #2AB5A5
monochromatic
#521339 #831E5C #B52A7F #D4489E #E079B8

Accessibility & contrast

On white

5.83
#B52A7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B52A7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52A7F
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52A7F#FFFFFF#000000##FFFFFF
##B52A7F1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405681
Deuteranopia (green-blind)
#696E7C
Tritanopia (blue-blind)
#C22351
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b52a7f;
/* rgb */ color: rgb(181, 42, 127);
/* oklch */ color: oklch(53.2% 0.191 348.3);
Tailwind
colors: {
  custom: {
    50: '#d072a4',
    500: '#b52a7f',
    950: '#000000',
  },
}
SCSS
$custom: #b52a7f;
$custom-light: #d072a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b52a7f",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 127
  },
  "hsl": {
    "h": 323.309,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53213,
    "c": 0.19134,
    "h": 348.3
  },
  "luminance": 0.13012
}

Semantic roles & 50–950 ramp

primary
#B52A7F
secondary
#73C894
accent
#E58242
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#15090F
muted
#837B7F

Preview Lab

Preview with #B52A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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