#B52299#B52299

#B52299 is a mid, highly saturated pink. Relative luminance 0.133; OKLCH L 53.9% C 0.214 H 337.6°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B52299
RGBrgb(181, 34, 153)
HSLhsl(311, 68%, 42%)
HSVhsv(311, 81%, 71%)
CMYKcmyk(0%, 81.2%, 15.5%, 29%)
CIE-LABlab(43.17, 66.93, -30.06)
CIE-LCHlch(43.17, 73.38, 335.82°)
OKLaboklab(53.86% 0.1981 -0.0818)
OKLCHoklch(53.86% 0.214 337.6)
XYZxyz(25.3784, 13.2702, 31.3557)
Luminance0.1327 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52299 #22B53E
analogous
#8822B5 #B52299 #B5224F
triadic
#B52299 #99B522 #2299B5
tetradic
#B52299 #B58822 #22B53E #224FB5
square
#B52299 #B58822 #22B53E #224FB5
split-complementary
#B52299 #4FB522 #22B588
monochromatic
#4E0F42 #81186D #B52299 #DA3ABC #E46ECD

Accessibility & contrast

On white

5.75
#B52299 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B52299 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52299
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52299#FFFFFF#000000##FFFFFF
##B522991.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29589C
Deuteranopia (green-blind)
#5E6E96
Tritanopia (blue-blind)
#BF2C5D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b52299;
/* rgb */ color: rgb(181, 34, 153);
/* oklch */ color: oklch(53.9% 0.214 337.6);
Tailwind
colors: {
  custom: {
    50: '#cf70b7',
    500: '#b52299',
    950: '#000000',
  },
}
SCSS
$custom: #b52299;
$custom-light: #cf70b7;
$custom-dark: #000000;
JSON
{
  "hex": "#b52299",
  "rgb": {
    "r": 181,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 311.429,
    "s": 68.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53864,
    "c": 0.21431,
    "h": 337.6
  },
  "luminance": 0.13268
}

Semantic roles & 50–950 ramp

primary
#B52299
secondary
#69CA7B
accent
#EB5E3D
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52299

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

Preview Lab → · Contrast checker → · Palette generator →

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