#B22197#B22197

#B22197 is a mid, highly saturated pink. Relative luminance 0.128; OKLCH L 53.2% C 0.212 H 337.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#B22197
RGBrgb(178, 33, 151)
HSLhsl(311, 69%, 41%)
HSVhsv(311, 81%, 70%)
CMYKcmyk(0%, 81.5%, 15.2%, 30.2%)
CIE-LABlab(42.44, 66.25, -30.02)
CIE-LCHlch(42.44, 72.74, 335.62°)
OKLaboklab(53.21% 0.1959 -0.0818)
OKLCHoklch(53.21% 0.212 337.3)
XYZxyz(24.4904, 12.7895, 30.4510)
Luminance0.1279 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22197 #21B23C
analogous
#8521B2 #B22197 #B2214F
triadic
#B22197 #97B221 #2197B2
tetradic
#B22197 #B28521 #21B23C #214FB2
square
#B22197 #B28521 #21B23C #214FB2
split-complementary
#B22197 #4FB221 #21B285
monochromatic
#4B0E3F #7E176B #B22197 #DA36BB #E36ACD

Accessibility & contrast

On white

5.90
#B22197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#B22197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22197
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22197#FFFFFF#000000##FFFFFF
##B221971.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27569A
Deuteranopia (green-blind)
#5C6C94
Tritanopia (blue-blind)
#BC2C5C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b22197;
/* rgb */ color: rgb(178, 33, 151);
/* oklch */ color: oklch(53.2% 0.212 337.3);
Tailwind
colors: {
  custom: {
    50: '#cd6fb6',
    500: '#b22197',
    950: '#000000',
  },
}
SCSS
$custom: #b22197;
$custom-light: #cd6fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#b22197",
  "rgb": {
    "r": 178,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 311.172,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53213,
    "c": 0.21225,
    "h": 337.3
  },
  "luminance": 0.12787
}

Semantic roles & 50–950 ramp

primary
#B22197
secondary
#66C978
accent
#EC5D3C
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B22197

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

Preview Lab → · Contrast checker → · Palette generator →

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