#B22996#B22996

#B22996 is a mid, highly saturated pink. Relative luminance 0.133; OKLCH L 53.7% C 0.204 H 337.9°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B22996
RGBrgb(178, 41, 150)
HSLhsl(312, 63%, 43%)
HSVhsv(312, 77%, 70%)
CMYKcmyk(0%, 77%, 15.7%, 30.2%)
CIE-LABlab(43.15, 63.96, -28.32)
CIE-LCHlch(43.15, 69.95, 336.11°)
OKLaboklab(53.7% 0.1893 -0.0769)
OKLCHoklch(53.7% 0.204 337.9)
XYZxyz(24.6586, 13.2552, 30.1081)
Luminance0.1325 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22996 #29B245
analogous
#8929B2 #B22996 #B22951
triadic
#B22996 #96B229 #2996B2
tetradic
#B22996 #B28929 #29B245 #2951B2
square
#B22996 #B28929 #29B245 #2951B2
split-complementary
#B22996 #51B229 #29B289
monochromatic
#4F1242 #801E6C #B22996 #D444B7 #DF76CA

Accessibility & contrast

On white

5.75
#B22996 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B22996 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22996
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22996#FFFFFF#000000##FFFFFF
##B229961.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5899
Deuteranopia (green-blind)
#5E6D93
Tritanopia (blue-blind)
#BC315D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b22996;
/* rgb */ color: rgb(178, 41, 150);
/* oklch */ color: oklch(53.7% 0.204 337.9);
Tailwind
colors: {
  custom: {
    50: '#cd72b5',
    500: '#b22996',
    950: '#000000',
  },
}
SCSS
$custom: #b22996;
$custom-light: #cd72b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b22996",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 150
  },
  "hsl": {
    "h": 312.263,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53701,
    "c": 0.20434,
    "h": 337.9
  },
  "luminance": 0.13253
}

Semantic roles & 50–950 ramp

primary
#B22996
secondary
#70C782
accent
#E66442
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22996

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

Preview Lab → · Contrast checker → · Palette generator →

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