#B32798#B32798

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

Color values

HEX#B32798
RGBrgb(179, 39, 152)
HSLhsl(312, 64%, 43%)
HSVhsv(312, 78%, 70%)
CMYKcmyk(0%, 78.2%, 15.1%, 29.8%)
CIE-LABlab(43.22, 65.04, -29.40)
CIE-LCHlch(43.22, 71.38, 335.67°)
OKLaboklab(53.82% 0.1922 -0.08)
OKLCHoklch(53.82% 0.208 337.4)
XYZxyz(24.9840, 13.3041, 30.9518)
Luminance0.1330 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B32798 #27B342
analogous
#8827B3 #B32798 #B32752
triadic
#B32798 #98B327 #2798B3
tetradic
#B32798 #B38827 #27B342 #2752B3
square
#B32798 #B38827 #27B342 #2752B3
split-complementary
#B32798 #52B327 #27B388
monochromatic
#4E1143 #811C6D #B32798 #D641B9 #E174CC

Accessibility & contrast

On white

5.74
#B32798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B32798 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B32798
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B32798#FFFFFF#000000##FFFFFF
##B327981.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C589B
Deuteranopia (green-blind)
#5E6E95
Tritanopia (blue-blind)
#BD305E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b32798;
/* rgb */ color: rgb(179, 39, 152);
/* oklch */ color: oklch(53.8% 0.208 337.4);
Tailwind
colors: {
  custom: {
    50: '#ce71b6',
    500: '#b32798',
    950: '#000000',
  },
}
SCSS
$custom: #b32798;
$custom-light: #ce71b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b32798",
  "rgb": {
    "r": 179,
    "g": 39,
    "b": 152
  },
  "hsl": {
    "h": 311.571,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53818,
    "c": 0.20816,
    "h": 337.4
  },
  "luminance": 0.13302
}

Semantic roles & 50–950 ramp

primary
#B32798
secondary
#6EC87F
accent
#E76141
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B32798

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

Preview Lab → · Contrast checker → · Palette generator →

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