#B52892#B52892

#B52892 is a mid, highly saturated pink. Relative luminance 0.134; OKLCH L 53.9% C 0.204 H 340.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#B52892
RGBrgb(181, 40, 146)
HSLhsl(315, 64%, 43%)
HSVhsv(315, 78%, 71%)
CMYKcmyk(0%, 77.9%, 19.3%, 29%)
CIE-LABlab(43.39, 64.39, -25.49)
CIE-LCHlch(43.39, 69.25, 338.41°)
OKLaboklab(53.91% 0.1925 -0.0688)
OKLCHoklch(53.91% 0.204 340.3)
XYZxyz(25.0039, 13.4192, 28.4619)
Luminance0.1342 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52892 #28B54B
analogous
#9128B5 #B52892 #B5284B
triadic
#B52892 #92B528 #2892B5
tetradic
#B52892 #B59128 #28B54B #284BB5
square
#B52892 #B59128 #28B54B #284BB5
split-complementary
#B52892 #4BB528 #28B591
monochromatic
#511241 #831D6A #B52892 #D644B2 #E177C6

Accessibility & contrast

On white

5.70
#B52892 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B52892 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52892
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52892#FFFFFF#000000##FFFFFF
##B528921.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345895
Deuteranopia (green-blind)
#626E8F
Tritanopia (blue-blind)
#C02D5B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b52892;
/* rgb */ color: rgb(181, 40, 146);
/* oklch */ color: oklch(53.9% 0.204 340.3);
Tailwind
colors: {
  custom: {
    50: '#cf72b2',
    500: '#b52892',
    950: '#000000',
  },
}
SCSS
$custom: #b52892;
$custom-light: #cf72b2;
$custom-dark: #000000;
JSON
{
  "hex": "#b52892",
  "rgb": {
    "r": 181,
    "g": 40,
    "b": 146
  },
  "hsl": {
    "h": 314.894,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53914,
    "c": 0.20446,
    "h": 340.3
  },
  "luminance": 0.13417
}

Semantic roles & 50–950 ramp

primary
#B52892
secondary
#70C886
accent
#E76A41
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52892

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

Preview Lab → · Contrast checker → · Palette generator →

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