#B22771#B22771

#B22771 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.9% C 0.185 H 353.4°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#B22771
RGBrgb(178, 39, 113)
HSLhsl(328, 64%, 43%)
HSVhsv(328, 78%, 70%)
CMYKcmyk(0%, 78.1%, 36.5%, 30.2%)
CIE-LABlab(41.39, 59.93, -8.31)
CIE-LCHlch(41.39, 60.50, 352.11°)
OKLaboklab(51.93% 0.1841 -0.0212)
OKLCHoklch(51.93% 0.185 353.4)
XYZxyz(22.0677, 12.1110, 16.7952)
Luminance0.1211 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22771 #27B268
analogous
#AE27B2 #B22771 #B2272B
triadic
#B22771 #71B227 #2771B2
tetradic
#B22771 #B2AE27 #27B268 #272BB2
square
#B22771 #B2AE27 #27B268 #272BB2
split-complementary
#B22771 #2BB227 #27B2AE
monochromatic
#4E1131 #801C51 #B22771 #D54190 #E073AD

Accessibility & contrast

On white

6.14
#B22771 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#B22771 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22771
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22771#FFFFFF#000000##FFFFFF
##B227711.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435173
Deuteranopia (green-blind)
#6A6B6E
Tritanopia (blue-blind)
#C01749
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b22771;
/* rgb */ color: rgb(178, 39, 113);
/* oklch */ color: oklch(51.9% 0.185 353.4);
Tailwind
colors: {
  custom: {
    50: '#ce7099',
    500: '#b22771',
    950: '#000000',
  },
}
SCSS
$custom: #b22771;
$custom-light: #ce7099;
$custom-dark: #000000;
JSON
{
  "hex": "#b22771",
  "rgb": {
    "r": 178,
    "g": 39,
    "b": 113
  },
  "hsl": {
    "h": 328.058,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51925,
    "c": 0.18528,
    "h": 353.4
  },
  "luminance": 0.12108
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B22771

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

Preview Lab → · Contrast checker → · Palette generator →

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