#B32196#B32196

#B32196 is a mid, highly saturated pink. Relative luminance 0.129; OKLCH L 53.3% C 0.212 H 338.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#B32196
RGBrgb(179, 33, 150)
HSLhsl(312, 69%, 42%)
HSVhsv(312, 82%, 70%)
CMYKcmyk(0%, 81.6%, 16.2%, 29.8%)
CIE-LABlab(42.58, 66.33, -29.20)
CIE-LCHlch(42.58, 72.48, 336.24°)
OKLaboklab(53.33% 0.1967 -0.0794)
OKLCHoklch(53.33% 0.212 338)
XYZxyz(24.6399, 12.8759, 30.0359)
Luminance0.1287 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B32196 #21B33E
analogous
#8721B3 #B32196 #B3214D
triadic
#B32196 #96B321 #2196B3
tetradic
#B32196 #B38721 #21B33E #214DB3
square
#B32196 #B38721 #21B33E #214DB3
split-complementary
#B32196 #4DB321 #21B387
monochromatic
#4C0E3F #7F176B #B32196 #DA37BA #E46BCC

Accessibility & contrast

On white

5.87
#B32196 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#B32196 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B32196
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B32196#FFFFFF#000000##FFFFFF
##B321961.005.873.575.87
#FFFFFF5.871.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295699
Deuteranopia (green-blind)
#5D6C93
Tritanopia (blue-blind)
#BD2B5B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b32196;
/* rgb */ color: rgb(179, 33, 150);
/* oklch */ color: oklch(53.3% 0.212 338.0);
Tailwind
colors: {
  custom: {
    50: '#ce6fb5',
    500: '#b32196',
    950: '#000000',
  },
}
SCSS
$custom: #b32196;
$custom-light: #ce6fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#b32196",
  "rgb": {
    "r": 179,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 311.918,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53325,
    "c": 0.21214,
    "h": 338
  },
  "luminance": 0.12873
}

Semantic roles & 50–950 ramp

primary
#B32196
secondary
#66CA7A
accent
#EC5F3C
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B32196

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

Preview Lab → · Contrast checker → · Palette generator →

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