#B52296#B52296

#B52296 is a mid, highly saturated pink. Relative luminance 0.132; OKLCH L 53.7% C 0.212 H 338.7°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#B52296
RGBrgb(181, 34, 150)
HSLhsl(313, 68%, 42%)
HSVhsv(313, 81%, 71%)
CMYKcmyk(0%, 81.2%, 17.1%, 29%)
CIE-LABlab(43.02, 66.53, -28.48)
CIE-LCHlch(43.02, 72.36, 336.83°)
OKLaboklab(53.71% 0.1978 -0.0773)
OKLCHoklch(53.71% 0.212 338.7)
XYZxyz(25.1338, 13.1723, 30.0671)
Luminance0.1317 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52296 #22B541
analogous
#8B22B5 #B52296 #B5224D
triadic
#B52296 #96B522 #2296B5
tetradic
#B52296 #B58B22 #22B541 #224DB5
square
#B52296 #B58B22 #22B541 #224DB5
split-complementary
#B52296 #4DB522 #22B58B
monochromatic
#4E0F41 #81186B #B52296 #DA3AB8 #E46ECB

Accessibility & contrast

On white

5.78
#B52296 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#B52296 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52296
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52296#FFFFFF#000000##FFFFFF
##B522961.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b52296;
/* rgb */ color: rgb(181, 34, 150);
/* oklch */ color: oklch(53.7% 0.212 338.7);
Tailwind
colors: {
  custom: {
    50: '#cf70b5',
    500: '#b52296',
    950: '#000000',
  },
}
SCSS
$custom: #b52296;
$custom-light: #cf70b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b52296",
  "rgb": {
    "r": 181,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 312.653,
    "s": 68.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53712,
    "c": 0.21237,
    "h": 338.7
  },
  "luminance": 0.1317
}

Semantic roles & 50–950 ramp

primary
#B52296
secondary
#69CA7D
accent
#EB613D
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52296

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

Preview Lab → · Contrast checker → · Palette generator →

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