#B22199#B22199

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

Color values

HEX#B22199
RGBrgb(178, 33, 153)
HSLhsl(310, 69%, 41%)
HSVhsv(310, 81%, 70%)
CMYKcmyk(0%, 81.5%, 14%, 30.2%)
CIE-LABlab(42.54, 66.53, -31.08)
CIE-LCHlch(42.54, 73.43, 334.96°)
OKLaboklab(53.32% 0.196 -0.0848)
OKLCHoklch(53.32% 0.214 336.6)
XYZxyz(24.6542, 12.8550, 31.3137)
Luminance0.1285 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22199 #21B23A
analogous
#8321B2 #B22199 #B22151
triadic
#B22199 #99B221 #2199B2
tetradic
#B22199 #B28321 #21B23A #2151B2
square
#B22199 #B28321 #21B23A #2151B2
split-complementary
#B22199 #51B221 #21B283
monochromatic
#4B0E40 #7E176D #B22199 #DA36BE #E36ACE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B22199#FFFFFF#000000##FFFFFF
##B221991.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)
#25579C
Deuteranopia (green-blind)
#5B6C96
Tritanopia (blue-blind)
#BC2D5D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b22199;
/* rgb */ color: rgb(178, 33, 153);
/* oklch */ color: oklch(53.3% 0.214 336.6);
Tailwind
colors: {
  custom: {
    50: '#cd6fb7',
    500: '#b22199',
    950: '#000000',
  },
}
SCSS
$custom: #b22199;
$custom-light: #cd6fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#b22199",
  "rgb": {
    "r": 178,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 310.345,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53317,
    "c": 0.21357,
    "h": 336.6
  },
  "luminance": 0.12853
}

Semantic roles & 50–950 ramp

primary
#B22199
secondary
#66C977
accent
#EC5A3C
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22199

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

Preview Lab → · Contrast checker → · Palette generator →

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