#B52E94#B52E94

#B52E94 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.5% C 0.200 H 339.8°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#B52E94
RGBrgb(181, 46, 148)
HSLhsl(315, 59%, 45%)
HSVhsv(315, 75%, 71%)
CMYKcmyk(0%, 74.6%, 18.2%, 29%)
CIE-LABlab(44.12, 62.85, -25.56)
CIE-LCHlch(44.12, 67.85, 337.87°)
OKLaboklab(54.47% 0.1873 -0.0691)
OKLCHoklch(54.47% 0.2 339.8)
XYZxyz(25.3790, 13.9184, 29.3612)
Luminance0.1392 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52E94 #2EB54F
analogous
#932EB5 #B52E94 #B52E50
triadic
#B52E94 #94B52E #2E94B5
tetradic
#B52E94 #B5932E #2EB54F #2E50B5
square
#B52E94 #B5932E #2EB54F #2E50B5
split-complementary
#B52E94 #50B52E #2EB593
monochromatic
#531544 #84226C #B52E94 #D24EB2 #DE7FC7

Accessibility & contrast

On white

5.55
#B52E94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#B52E94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52E94
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52E94#FFFFFF#000000##FFFFFF
##B52E941.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375B97
Deuteranopia (green-blind)
#637091
Tritanopia (blue-blind)
#C0335E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b52e94;
/* rgb */ color: rgb(181, 46, 148);
/* oklch */ color: oklch(54.5% 0.200 339.8);
Tailwind
colors: {
  custom: {
    50: '#cf74b3',
    500: '#b52e94',
    950: '#000000',
  },
}
SCSS
$custom: #b52e94;
$custom-light: #cf74b3;
$custom-dark: #000000;
JSON
{
  "hex": "#b52e94",
  "rgb": {
    "r": 181,
    "g": 46,
    "b": 148
  },
  "hsl": {
    "h": 314.667,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54469,
    "c": 0.19962,
    "h": 339.8
  },
  "luminance": 0.13916
}

Semantic roles & 50–950 ramp

primary
#B52E94
secondary
#78C78B
accent
#E36C45
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52E94

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

Preview Lab → · Contrast checker → · Palette generator →

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