#B52396#B52396

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

Color values

HEX#B52396
RGBrgb(181, 35, 150)
HSLhsl(313, 68%, 42%)
HSVhsv(313, 81%, 71%)
CMYKcmyk(0%, 80.7%, 17.1%, 29%)
CIE-LABlab(43.11, 66.28, -28.34)
CIE-LCHlch(43.11, 72.08, 336.85°)
OKLaboklab(53.77% 0.1971 -0.0769)
OKLCHoklch(53.77% 0.212 338.7)
XYZxyz(25.1628, 13.2304, 30.0768)
Luminance0.1323 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52396 #23B542
analogous
#8B23B5 #B52396 #B5234D
triadic
#B52396 #96B523 #2396B5
tetradic
#B52396 #B58B23 #23B542 #234DB5
square
#B52396 #B58B23 #23B542 #234DB5
split-complementary
#B52396 #4DB523 #23B58B
monochromatic
#4E0F41 #82196B #B52396 #D93CB8 #E36FCB

Accessibility & contrast

On white

5.76
#B52396 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B52396
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52396#FFFFFF#000000##FFFFFF
##B523961.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.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: #b52396;
/* rgb */ color: rgb(181, 35, 150);
/* oklch */ color: oklch(53.8% 0.212 338.7);
Tailwind
colors: {
  custom: {
    50: '#cf70b5',
    500: '#b52396',
    950: '#000000',
  },
}
SCSS
$custom: #b52396;
$custom-light: #cf70b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b52396",
  "rgb": {
    "r": 181,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 312.74,
    "s": 67.593,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53774,
    "c": 0.21154,
    "h": 338.7
  },
  "luminance": 0.13228
}

Semantic roles & 50–950 ramp

primary
#B52396
secondary
#6ACA7E
accent
#EA623D
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B52396

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

Preview Lab → · Contrast checker → · Palette generator →

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