#B52E91#B52E91

#B52E91 is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.3% C 0.198 H 340.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B52E91
RGBrgb(181, 46, 145)
HSLhsl(316, 59%, 45%)
HSVhsv(316, 75%, 71%)
CMYKcmyk(0%, 74.6%, 19.9%, 29%)
CIE-LABlab(43.98, 62.44, -23.96)
CIE-LCHlch(43.98, 66.88, 339.01°)
OKLaboklab(54.33% 0.1869 -0.0645)
OKLCHoklch(54.33% 0.198 340.9)
XYZxyz(25.1447, 13.8246, 28.1268)
Luminance0.1382 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52E91 #2EB552
analogous
#962EB5 #B52E91 #B52E4E
triadic
#B52E91 #91B52E #2E91B5
tetradic
#B52E91 #B5962E #2EB552 #2E4EB5
square
#B52E91 #B5962E #2EB552 #2E4EB5
split-complementary
#B52E91 #4EB52E #2EB596
monochromatic
#531543 #84226A #B52E91 #D24EAF #DE7FC5

Accessibility & contrast

On white

5.58
#B52E91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#B52E91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52E91
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52E91#FFFFFF#000000##FFFFFF
##B52E911.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395A94
Deuteranopia (green-blind)
#64708E
Tritanopia (blue-blind)
#C0315C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b52e91;
/* rgb */ color: rgb(181, 46, 145);
/* oklch */ color: oklch(54.3% 0.198 340.9);
Tailwind
colors: {
  custom: {
    50: '#cf74b1',
    500: '#b52e91',
    950: '#000000',
  },
}
SCSS
$custom: #b52e91;
$custom-light: #cf74b1;
$custom-dark: #000000;
JSON
{
  "hex": "#b52e91",
  "rgb": {
    "r": 181,
    "g": 46,
    "b": 145
  },
  "hsl": {
    "h": 316,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54327,
    "c": 0.19769,
    "h": 340.9
  },
  "luminance": 0.13822
}

Semantic roles & 50–950 ramp

primary
#B52E91
secondary
#78C78D
accent
#E36F45
background
#FDF7FA
surface
#FAEDF5
border
#D3C8CF
text
#140910
muted
#837B7F

Preview Lab

Preview with #B52E91

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

Preview Lab → · Contrast checker → · Palette generator →

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