#B52E92#B52E92

#B52E92 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.4% C 0.198 H 340.5°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#B52E92
RGBrgb(181, 46, 146)
HSLhsl(316, 59%, 45%)
HSVhsv(316, 75%, 71%)
CMYKcmyk(0%, 74.6%, 19.3%, 29%)
CIE-LABlab(44.03, 62.58, -24.50)
CIE-LCHlch(44.03, 67.20, 338.62°)
OKLaboklab(54.37% 0.187 -0.0661)
OKLCHoklch(54.37% 0.198 340.5)
XYZxyz(25.2221, 13.8556, 28.5346)
Luminance0.1385 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52E92 #2EB551
analogous
#952EB5 #B52E92 #B52E4E
triadic
#B52E92 #92B52E #2E92B5
tetradic
#B52E92 #B5952E #2EB551 #2E4EB5
square
#B52E92 #B5952E #2EB551 #2E4EB5
split-complementary
#B52E92 #4EB52E #2EB595
monochromatic
#531543 #84226B #B52E92 #D24EB0 #DE7FC6

Accessibility & contrast

On white

5.57
#B52E92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#B52E92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52E92
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52E92#FFFFFF#000000##FFFFFF
##B52E921.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395A95
Deuteranopia (green-blind)
#64708F
Tritanopia (blue-blind)
#C0325D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b52e92;
/* rgb */ color: rgb(181, 46, 146);
/* oklch */ color: oklch(54.4% 0.198 340.5);
Tailwind
colors: {
  custom: {
    50: '#cf74b2',
    500: '#b52e92',
    950: '#000000',
  },
}
SCSS
$custom: #b52e92;
$custom-light: #cf74b2;
$custom-dark: #000000;
JSON
{
  "hex": "#b52e92",
  "rgb": {
    "r": 181,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 315.556,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54374,
    "c": 0.19833,
    "h": 340.5
  },
  "luminance": 0.13853
}

Semantic roles & 50–950 ramp

primary
#B52E92
secondary
#78C78C
accent
#E36E45
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52E92

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

Preview Lab → · Contrast checker → · Palette generator →

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