#B52792#B52792

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

Color values

HEX#B52792
RGBrgb(181, 39, 146)
HSLhsl(315, 65%, 43%)
HSVhsv(315, 78%, 71%)
CMYKcmyk(0%, 78.5%, 19.3%, 29%)
CIE-LABlab(43.29, 64.67, -25.64)
CIE-LCHlch(43.29, 69.57, 338.38°)
OKLaboklab(53.84% 0.1934 -0.0692)
OKLCHoklch(53.84% 0.205 340.3)
XYZxyz(24.9706, 13.3527, 28.4508)
Luminance0.1335 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52792 #27B54A
analogous
#9127B5 #B52792 #B5274B
triadic
#B52792 #92B527 #2792B5
tetradic
#B52792 #B59127 #27B54A #274BB5
square
#B52792 #B59127 #27B54A #274BB5
split-complementary
#B52792 #4BB527 #27B591
monochromatic
#501141 #831C69 #B52792 #D643B2 #E175C7

Accessibility & contrast

On white

5.72
#B52792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B52792 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52792
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52792#FFFFFF#000000##FFFFFF
##B527921.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b52792;
/* rgb */ color: rgb(181, 39, 146);
/* oklch */ color: oklch(53.8% 0.205 340.3);
Tailwind
colors: {
  custom: {
    50: '#cf72b2',
    500: '#b52792',
    950: '#000000',
  },
}
SCSS
$custom: #b52792;
$custom-light: #cf72b2;
$custom-dark: #000000;
JSON
{
  "hex": "#b52792",
  "rgb": {
    "r": 181,
    "g": 39,
    "b": 146
  },
  "hsl": {
    "h": 314.789,
    "s": 64.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53843,
    "c": 0.20541,
    "h": 340.3
  },
  "luminance": 0.1335
}

Semantic roles & 50–950 ramp

primary
#B52792
secondary
#6FC985
accent
#E86940
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52792

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

Preview Lab → · Contrast checker → · Palette generator →

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