#B22896#B22896

#B22896 is a mid, highly saturated pink. Relative luminance 0.132; OKLCH L 53.6% C 0.205 H 337.9°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#B22896
RGBrgb(178, 40, 150)
HSLhsl(312, 63%, 43%)
HSVhsv(312, 78%, 70%)
CMYKcmyk(0%, 77.5%, 15.7%, 30.2%)
CIE-LABlab(43.04, 64.25, -28.48)
CIE-LCHlch(43.04, 70.28, 336.09°)
OKLaboklab(53.63% 0.1902 -0.0774)
OKLCHoklch(53.63% 0.205 337.9)
XYZxyz(24.6245, 13.1870, 30.0967)
Luminance0.1318 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22896 #28B244
analogous
#8928B2 #B22896 #B22851
triadic
#B22896 #96B228 #2896B2
tetradic
#B22896 #B28928 #28B244 #2851B2
square
#B22896 #B28928 #28B244 #2851B2
split-complementary
#B22896 #51B228 #28B289
monochromatic
#4E1242 #801D6C #B22896 #D543B7 #E075CA

Accessibility & contrast

On white

5.77
#B22896 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#B22896 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22896
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22896#FFFFFF#000000##FFFFFF
##B228961.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b22896;
/* rgb */ color: rgb(178, 40, 150);
/* oklch */ color: oklch(53.6% 0.205 337.9);
Tailwind
colors: {
  custom: {
    50: '#cd72b5',
    500: '#b22896',
    950: '#000000',
  },
}
SCSS
$custom: #b22896;
$custom-light: #cd72b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b22896",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 312.174,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53628,
    "c": 0.20533,
    "h": 337.9
  },
  "luminance": 0.13185
}

Semantic roles & 50–950 ramp

primary
#B22896
secondary
#6FC781
accent
#E66341
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22896

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

Preview Lab → · Contrast checker → · Palette generator →

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