#B22772#B22772

#B22772 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 52.0% C 0.186 H 353.0°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#B22772
RGBrgb(178, 39, 114)
HSLhsl(328, 64%, 43%)
HSVhsv(328, 78%, 70%)
CMYKcmyk(0%, 78.1%, 36%, 30.2%)
CIE-LABlab(41.43, 60.04, -8.88)
CIE-LCHlch(41.43, 60.69, 351.59°)
OKLaboklab(51.96% 0.1843 -0.0228)
OKLCHoklch(51.96% 0.186 353)
XYZxyz(22.1243, 12.1336, 17.0933)
Luminance0.1213 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22772 #27B267
analogous
#AC27B2 #B22772 #B2272D
triadic
#B22772 #72B227 #2772B2
tetradic
#B22772 #B2AC27 #27B267 #272DB2
square
#B22772 #B2AC27 #27B267 #272DB2
split-complementary
#B22772 #2DB227 #27B2AC
monochromatic
#4E1132 #801C52 #B22772 #D54191 #E073AE

Accessibility & contrast

On white

6.13
#B22772 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#B22772 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22772
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22772#FFFFFF#000000##FFFFFF
##B227721.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425274
Deuteranopia (green-blind)
#696B6F
Tritanopia (blue-blind)
#C01749
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b22772;
/* rgb */ color: rgb(178, 39, 114);
/* oklch */ color: oklch(52.0% 0.186 353.0);
Tailwind
colors: {
  custom: {
    50: '#ce709a',
    500: '#b22772',
    950: '#000000',
  },
}
SCSS
$custom: #b22772;
$custom-light: #ce709a;
$custom-dark: #000000;
JSON
{
  "hex": "#b22772",
  "rgb": {
    "r": 178,
    "g": 39,
    "b": 114
  },
  "hsl": {
    "h": 327.626,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51963,
    "c": 0.18573,
    "h": 353
  },
  "luminance": 0.12131
}

Semantic roles & 50–950 ramp

primary
#B22772
secondary
#6DC897
accent
#E78D41
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B22772

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

Preview Lab → · Contrast checker → · Palette generator →

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