#B52496#B52496

#B52496 is a mid, highly saturated pink. Relative luminance 0.133; OKLCH L 53.8% C 0.211 H 338.7°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#B52496
RGBrgb(181, 36, 150)
HSLhsl(313, 67%, 43%)
HSVhsv(313, 80%, 71%)
CMYKcmyk(0%, 80.1%, 17.1%, 29%)
CIE-LABlab(43.20, 66.02, -28.20)
CIE-LCHlch(43.20, 71.79, 336.87°)
OKLaboklab(53.84% 0.1963 -0.0765)
OKLCHoklch(53.84% 0.211 338.7)
XYZxyz(25.1926, 13.2900, 30.0867)
Luminance0.1329 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52496 #24B543
analogous
#8C24B5 #B52496 #B5244D
triadic
#B52496 #96B524 #2496B5
tetradic
#B52496 #B58C24 #24B543 #244DB5
square
#B52496 #B58C24 #24B543 #244DB5
split-complementary
#B52496 #4DB524 #24B58C
monochromatic
#4F1041 #821A6C #B52496 #D93EB7 #E371CA

Accessibility & contrast

On white

5.74
#B52496 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B52496 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52496
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52496#FFFFFF#000000##FFFFFF
##B524961.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5899
Deuteranopia (green-blind)
#5F6E93
Tritanopia (blue-blind)
#C02C5C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b52496;
/* rgb */ color: rgb(181, 36, 150);
/* oklch */ color: oklch(53.8% 0.211 338.7);
Tailwind
colors: {
  custom: {
    50: '#cf71b5',
    500: '#b52496',
    950: '#000000',
  },
}
SCSS
$custom: #b52496;
$custom-light: #cf71b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b52496",
  "rgb": {
    "r": 181,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 312.828,
    "s": 66.82,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53838,
    "c": 0.21068,
    "h": 338.7
  },
  "luminance": 0.13288
}

Semantic roles & 50–950 ramp

primary
#B52496
secondary
#6BC97F
accent
#EA633E
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52496

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

Preview Lab → · Contrast checker → · Palette generator →

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