#B32791#B32791

#B32791 is a mid, highly saturated pink. Relative luminance 0.131; OKLCH L 53.5% C 0.204 H 340.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#B32791
RGBrgb(179, 39, 145)
HSLhsl(315, 64%, 43%)
HSVhsv(315, 78%, 70%)
CMYKcmyk(0%, 78.2%, 19%, 29.8%)
CIE-LABlab(42.89, 64.08, -25.69)
CIE-LCHlch(42.89, 69.03, 338.15°)
OKLaboklab(53.47% 0.1914 -0.0694)
OKLCHoklch(53.47% 0.204 340.1)
XYZxyz(24.4275, 13.0816, 28.0211)
Luminance0.1308 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B32791 #27B349
analogous
#8F27B3 #B32791 #B3274B
triadic
#B32791 #91B327 #2791B3
tetradic
#B32791 #B38F27 #27B349 #274BB3
square
#B32791 #B38F27 #27B349 #274BB3
split-complementary
#B32791 #4BB327 #27B38F
monochromatic
#4E1140 #811C68 #B32791 #D641B2 #E174C6

Accessibility & contrast

On white

5.81
#B32791 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B32791 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B32791
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B32791#FFFFFF#000000##FFFFFF
##B327911.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325794
Deuteranopia (green-blind)
#616D8E
Tritanopia (blue-blind)
#BE2C5A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b32791;
/* rgb */ color: rgb(179, 39, 145);
/* oklch */ color: oklch(53.5% 0.204 340.1);
Tailwind
colors: {
  custom: {
    50: '#ce71b1',
    500: '#b32791',
    950: '#000000',
  },
}
SCSS
$custom: #b32791;
$custom-light: #ce71b1;
$custom-dark: #000000;
JSON
{
  "hex": "#b32791",
  "rgb": {
    "r": 179,
    "g": 39,
    "b": 145
  },
  "hsl": {
    "h": 314.571,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5347,
    "c": 0.20362,
    "h": 340.1
  },
  "luminance": 0.13079
}

Semantic roles & 50–950 ramp

primary
#B32791
secondary
#6EC884
accent
#E76941
background
#FDF7FA
surface
#FAEDF5
border
#D3C8CF
text
#140910
muted
#837B7F

Preview Lab

Preview with #B32791

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

Preview Lab → · Contrast checker → · Palette generator →

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