#B22196#B22196

#B22196 is a mid, highly saturated pink. Relative luminance 0.128; OKLCH L 53.2% C 0.212 H 337.7°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#B22196
RGBrgb(178, 33, 150)
HSLhsl(312, 69%, 41%)
HSVhsv(312, 81%, 70%)
CMYKcmyk(0%, 81.5%, 15.7%, 30.2%)
CIE-LABlab(42.40, 66.11, -29.50)
CIE-LCHlch(42.40, 72.40, 335.96°)
OKLaboklab(53.16% 0.1958 -0.0802)
OKLCHoklch(53.16% 0.212 337.7)
XYZxyz(24.4095, 12.7571, 30.0251)
Luminance0.1275 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22196 #21B23D
analogous
#8621B2 #B22196 #B2214E
triadic
#B22196 #96B221 #2196B2
tetradic
#B22196 #B28621 #21B23D #214EB2
square
#B22196 #B28621 #21B23D #214EB2
split-complementary
#B22196 #4EB221 #21B286
monochromatic
#4B0E3F #7E176A #B22196 #DA36BA #E36ACC

Accessibility & contrast

On white

5.91
#B22196 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#B22196 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22196
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22196#FFFFFF#000000##FFFFFF
##B221961.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285699
Deuteranopia (green-blind)
#5C6C93
Tritanopia (blue-blind)
#BC2B5B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b22196;
/* rgb */ color: rgb(178, 33, 150);
/* oklch */ color: oklch(53.2% 0.212 337.7);
Tailwind
colors: {
  custom: {
    50: '#cd6fb5',
    500: '#b22196',
    950: '#000000',
  },
}
SCSS
$custom: #b22196;
$custom-light: #cd6fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#b22196",
  "rgb": {
    "r": 178,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 311.586,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53162,
    "c": 0.2116,
    "h": 337.7
  },
  "luminance": 0.12755
}

Semantic roles & 50–950 ramp

primary
#B22196
secondary
#66C979
accent
#EC5E3C
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B22196

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

Preview Lab → · Contrast checker → · Palette generator →

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