#B52A8F#B52A8F

#B52A8F is a mid, highly saturated pink. Relative luminance 0.135; OKLCH L 53.9% C 0.201 H 341.6°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#B52A8F
RGBrgb(181, 42, 143)
HSLhsl(316, 62%, 44%)
HSVhsv(316, 77%, 71%)
CMYKcmyk(0%, 76.8%, 21%, 29%)
CIE-LABlab(43.46, 63.41, -23.56)
CIE-LCHlch(43.46, 67.64, 339.62°)
OKLaboklab(53.92% 0.1903 -0.0634)
OKLCHoklch(53.92% 0.201 341.6)
XYZxyz(24.8428, 13.4654, 27.2720)
Luminance0.1346 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52A8F #2AB550
analogous
#952AB5 #B52A8F #B52A49
triadic
#B52A8F #8FB52A #2A8FB5
tetradic
#B52A8F #B5952A #2AB550 #2A49B5
square
#B52A8F #B5952A #2AB550 #2A49B5
split-complementary
#B52A8F #49B52A #2AB595
monochromatic
#521341 #831E68 #B52A8F #D448AE #E079C4

Accessibility & contrast

On white

5.69
#B52A8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#B52A8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52A8F
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52A8F#FFFFFF#000000##FFFFFF
##B52A8F1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375892
Deuteranopia (green-blind)
#646F8C
Tritanopia (blue-blind)
#C02D5A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b52a8f;
/* rgb */ color: rgb(181, 42, 143);
/* oklch */ color: oklch(53.9% 0.201 341.6);
Tailwind
colors: {
  custom: {
    50: '#cf73b0',
    500: '#b52a8f',
    950: '#000000',
  },
}
SCSS
$custom: #b52a8f;
$custom-light: #cf73b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b52a8f",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 143
  },
  "hsl": {
    "h": 316.403,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53919,
    "c": 0.20061,
    "h": 341.6
  },
  "luminance": 0.13463
}

Semantic roles & 50–950 ramp

primary
#B52A8F
secondary
#73C88A
accent
#E56F42
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B52A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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