#B52E93#B52E93

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

Color values

HEX#B52E93
RGBrgb(181, 46, 147)
HSLhsl(315, 59%, 45%)
HSVhsv(315, 75%, 71%)
CMYKcmyk(0%, 74.6%, 18.8%, 29%)
CIE-LABlab(44.07, 62.71, -25.03)
CIE-LCHlch(44.07, 67.52, 338.24°)
OKLaboklab(54.42% 0.1872 -0.0676)
OKLCHoklch(54.42% 0.199 340.1)
XYZxyz(25.3002, 13.8868, 28.9461)
Luminance0.1388 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52E93 #2EB550
analogous
#942EB5 #B52E93 #B52E50
triadic
#B52E93 #93B52E #2E93B5
tetradic
#B52E93 #B5942E #2EB550 #2E50B5
square
#B52E93 #B5942E #2EB550 #2E50B5
split-complementary
#B52E93 #50B52E #2EB594
monochromatic
#531544 #84226B #B52E93 #D24EB1 #DE7FC6

Accessibility & contrast

On white

5.56
#B52E93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B52E93
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52E93#FFFFFF#000000##FFFFFF
##B52E931.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385A96
Deuteranopia (green-blind)
#647090
Tritanopia (blue-blind)
#C0325D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b52e93;
/* rgb */ color: rgb(181, 46, 147);
/* oklch */ color: oklch(54.4% 0.199 340.1);
Tailwind
colors: {
  custom: {
    50: '#cf74b3',
    500: '#b52e93',
    950: '#000000',
  },
}
SCSS
$custom: #b52e93;
$custom-light: #cf74b3;
$custom-dark: #000000;
JSON
{
  "hex": "#b52e93",
  "rgb": {
    "r": 181,
    "g": 46,
    "b": 147
  },
  "hsl": {
    "h": 315.111,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54422,
    "c": 0.19897,
    "h": 340.1
  },
  "luminance": 0.13884
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B52E93

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

Preview Lab → · Contrast checker → · Palette generator →

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