#B22977#B22977

#B22977 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.3% C 0.186 H 350.9°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#B22977
RGBrgb(178, 41, 119)
HSLhsl(326, 63%, 43%)
HSVhsv(326, 77%, 70%)
CMYKcmyk(0%, 77%, 33.1%, 30.2%)
CIE-LABlab(41.82, 60.00, -11.39)
CIE-LCHlch(41.82, 61.07, 349.25°)
OKLaboklab(52.31% 0.1838 -0.0296)
OKLCHoklch(52.31% 0.186 350.9)
XYZxyz(22.4841, 12.3854, 18.6558)
Luminance0.1238 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22977 #29B264
analogous
#A829B2 #B22977 #B22933
triadic
#B22977 #77B229 #2977B2
tetradic
#B22977 #B2A829 #29B264 #2933B2
square
#B22977 #B2A829 #29B264 #2933B2
split-complementary
#B22977 #33B229 #29B2A8
monochromatic
#4F1234 #801E56 #B22977 #D44496 #DF76B2

Accessibility & contrast

On white

6.04
#B22977 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#B22977 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22977
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22977#FFFFFF#000000##FFFFFF
##B229771.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415379
Deuteranopia (green-blind)
#696B74
Tritanopia (blue-blind)
#C01E4D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b22977;
/* rgb */ color: rgb(178, 41, 119);
/* oklch */ color: oklch(52.3% 0.186 350.9);
Tailwind
colors: {
  custom: {
    50: '#ce719e',
    500: '#b22977',
    950: '#000000',
  },
}
SCSS
$custom: #b22977;
$custom-light: #ce719e;
$custom-dark: #000000;
JSON
{
  "hex": "#b22977",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 119
  },
  "hsl": {
    "h": 325.839,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5231,
    "c": 0.18612,
    "h": 350.9
  },
  "luminance": 0.12383
}

Semantic roles & 50–950 ramp

primary
#B22977
secondary
#70C795
accent
#E68942
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B22977

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

Preview Lab → · Contrast checker → · Palette generator →

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