#B52894#B52894

#B52894 is a mid, highly saturated pink. Relative luminance 0.135; OKLCH L 54.0% C 0.206 H 339.6°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B52894
RGBrgb(181, 40, 148)
HSLhsl(314, 64%, 43%)
HSVhsv(314, 78%, 71%)
CMYKcmyk(0%, 77.9%, 18.2%, 29%)
CIE-LABlab(43.48, 64.66, -26.55)
CIE-LCHlch(43.48, 69.90, 337.68°)
OKLaboklab(54.01% 0.1928 -0.0718)
OKLCHoklch(54.01% 0.206 339.6)
XYZxyz(25.1608, 13.4820, 29.2884)
Luminance0.1348 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52894 #28B549
analogous
#8F28B5 #B52894 #B5284D
triadic
#B52894 #94B528 #2894B5
tetradic
#B52894 #B58F28 #28B549 #284DB5
square
#B52894 #B58F28 #28B549 #284DB5
split-complementary
#B52894 #4DB528 #28B58F
monochromatic
#511242 #831D6B #B52894 #D644B4 #E177C8

Accessibility & contrast

On white

5.68
#B52894 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#B52894 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52894
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52894#FFFFFF#000000##FFFFFF
##B528941.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325997
Deuteranopia (green-blind)
#616F91
Tritanopia (blue-blind)
#C02E5C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b52894;
/* rgb */ color: rgb(181, 40, 148);
/* oklch */ color: oklch(54.0% 0.206 339.6);
Tailwind
colors: {
  custom: {
    50: '#cf72b3',
    500: '#b52894',
    950: '#000000',
  },
}
SCSS
$custom: #b52894;
$custom-light: #cf72b3;
$custom-dark: #000000;
JSON
{
  "hex": "#b52894",
  "rgb": {
    "r": 181,
    "g": 40,
    "b": 148
  },
  "hsl": {
    "h": 314.043,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54011,
    "c": 0.20573,
    "h": 339.6
  },
  "luminance": 0.13479
}

Semantic roles & 50–950 ramp

primary
#B52894
secondary
#70C885
accent
#E76841
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52894

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

Preview Lab → · Contrast checker → · Palette generator →

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