#B32797#B32797

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

Color values

HEX#B32797
RGBrgb(179, 39, 151)
HSLhsl(312, 64%, 43%)
HSVhsv(312, 78%, 70%)
CMYKcmyk(0%, 78.2%, 15.6%, 29.8%)
CIE-LABlab(43.17, 64.90, -28.88)
CIE-LCHlch(43.17, 71.03, 336.01°)
OKLaboklab(53.77% 0.1921 -0.0785)
OKLCHoklch(53.77% 0.208 337.8)
XYZxyz(24.9024, 13.2715, 30.5223)
Luminance0.1327 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B32797 #27B343
analogous
#8927B3 #B32797 #B32751
triadic
#B32797 #97B327 #2797B3
tetradic
#B32797 #B38927 #27B343 #2751B3
square
#B32797 #B38927 #27B343 #2751B3
split-complementary
#B32797 #51B327 #27B389
monochromatic
#4E1142 #811C6D #B32797 #D641B8 #E174CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B32797#FFFFFF#000000##FFFFFF
##B327971.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)
#2D589A
Deuteranopia (green-blind)
#5E6E94
Tritanopia (blue-blind)
#BD305D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b32797;
/* rgb */ color: rgb(179, 39, 151);
/* oklch */ color: oklch(53.8% 0.207 337.8);
Tailwind
colors: {
  custom: {
    50: '#ce71b6',
    500: '#b32797',
    950: '#000000',
  },
}
SCSS
$custom: #b32797;
$custom-light: #ce71b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b32797",
  "rgb": {
    "r": 179,
    "g": 39,
    "b": 151
  },
  "hsl": {
    "h": 312,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53767,
    "c": 0.2075,
    "h": 337.8
  },
  "luminance": 0.13269
}

Semantic roles & 50–950 ramp

primary
#B32797
secondary
#6EC880
accent
#E76241
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B32797

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

Preview Lab → · Contrast checker → · Palette generator →

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