#B22096#B22096

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

Color values

HEX#B22096
RGBrgb(178, 32, 150)
HSLhsl(312, 70%, 41%)
HSVhsv(312, 82%, 70%)
CMYKcmyk(0%, 82%, 15.7%, 30.2%)
CIE-LABlab(42.31, 66.36, -29.63)
CIE-LCHlch(42.31, 72.67, 335.94°)
OKLaboklab(53.1% 0.1965 -0.0806)
OKLCHoklch(53.1% 0.212 337.7)
XYZxyz(24.3822, 12.7024, 30.0160)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22096 #20B23C
analogous
#8520B2 #B22096 #B2204D
triadic
#B22096 #96B220 #2096B2
tetradic
#B22096 #B28520 #20B23C #204DB2
square
#B22096 #B28520 #20B23C #204DB2
split-complementary
#B22096 #4DB220 #20B285
monochromatic
#4A0D3F #7E176A #B22096 #DB35BB #E468CC

Accessibility & contrast

On white

5.93
#B22096 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#B22096 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22096
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22096#FFFFFF#000000##FFFFFF
##B220961.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b22096;
/* rgb */ color: rgb(178, 32, 150);
/* oklch */ color: oklch(53.1% 0.212 337.7);
Tailwind
colors: {
  custom: {
    50: '#cd6fb5',
    500: '#b22096',
    950: '#000000',
  },
}
SCSS
$custom: #b22096;
$custom-light: #cd6fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#b22096",
  "rgb": {
    "r": 178,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 311.507,
    "s": 69.524,
    "l": 41.176
  },
  "oklch": {
    "l": 0.53102,
    "c": 0.21241,
    "h": 337.7
  },
  "luminance": 0.127
}

Semantic roles & 50–950 ramp

primary
#B22096
secondary
#64CA78
accent
#EC5D3B
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B22096

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

Preview Lab → · Contrast checker → · Palette generator →

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