#B32796#B32796

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

Color values

HEX#B32796
RGBrgb(179, 39, 150)
HSLhsl(312, 64%, 43%)
HSVhsv(312, 78%, 70%)
CMYKcmyk(0%, 78.2%, 16.2%, 29.8%)
CIE-LABlab(43.12, 64.76, -28.35)
CIE-LCHlch(43.12, 70.69, 336.36°)
OKLaboklab(53.72% 0.192 -0.077)
OKLCHoklch(53.72% 0.207 338.1)
XYZxyz(24.8215, 13.2392, 30.0964)
Luminance0.1324 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B32796 #27B344
analogous
#8A27B3 #B32796 #B32750
triadic
#B32796 #96B327 #2796B3
tetradic
#B32796 #B38A27 #27B344 #2750B3
square
#B32796 #B38A27 #27B344 #2750B3
split-complementary
#B32796 #50B327 #27B38A
monochromatic
#4E1142 #811C6C #B32796 #D641B7 #E174CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B32796#FFFFFF#000000##FFFFFF
##B327961.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)
#2E5899
Deuteranopia (green-blind)
#5F6D93
Tritanopia (blue-blind)
#BD2F5D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b32796;
/* rgb */ color: rgb(179, 39, 150);
/* oklch */ color: oklch(53.7% 0.207 338.1);
Tailwind
colors: {
  custom: {
    50: '#ce71b5',
    500: '#b32796',
    950: '#000000',
  },
}
SCSS
$custom: #b32796;
$custom-light: #ce71b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b32796",
  "rgb": {
    "r": 179,
    "g": 39,
    "b": 150
  },
  "hsl": {
    "h": 312.429,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53717,
    "c": 0.20684,
    "h": 338.1
  },
  "luminance": 0.13237
}

Semantic roles & 50–950 ramp

primary
#B32796
secondary
#6EC881
accent
#E76341
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B32796

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

Preview Lab → · Contrast checker → · Palette generator →

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