#B22396#B22396

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

Color values

HEX#B22396
RGBrgb(178, 35, 150)
HSLhsl(312, 67%, 42%)
HSVhsv(312, 80%, 70%)
CMYKcmyk(0%, 80.3%, 15.7%, 30.2%)
CIE-LABlab(42.57, 65.61, -29.22)
CIE-LCHlch(42.57, 71.83, 335.99°)
OKLaboklab(53.29% 0.1943 -0.0795)
OKLCHoklch(53.29% 0.21 337.7)
XYZxyz(24.4667, 12.8715, 30.0441)
Luminance0.1287 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22396 #23B23F
analogous
#8723B2 #B22396 #B2234F
triadic
#B22396 #96B223 #2396B2
tetradic
#B22396 #B28723 #23B23F #234FB2
square
#B22396 #B28723 #23B23F #234FB2
split-complementary
#B22396 #4FB223 #23B287
monochromatic
#4C0F40 #7F196B #B22396 #D83AB9 #E26DCB

Accessibility & contrast

On white

5.88
#B22396 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B22396
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22396#FFFFFF#000000##FFFFFF
##B223961.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5799
Deuteranopia (green-blind)
#5D6C93
Tritanopia (blue-blind)
#BC2D5C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b22396;
/* rgb */ color: rgb(178, 35, 150);
/* oklch */ color: oklch(53.3% 0.210 337.7);
Tailwind
colors: {
  custom: {
    50: '#cd70b5',
    500: '#b22396',
    950: '#000000',
  },
}
SCSS
$custom: #b22396;
$custom-light: #cd70b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b22396",
  "rgb": {
    "r": 178,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 311.748,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53287,
    "c": 0.20991,
    "h": 337.7
  },
  "luminance": 0.12869
}

Semantic roles & 50–950 ramp

primary
#B22396
secondary
#68C97B
accent
#EA5F3E
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22396

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

Preview Lab → · Contrast checker → · Palette generator →

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