#B22A71#B22A71

#B22A71 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.2% C 0.182 H 353.7°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#B22A71
RGBrgb(178, 42, 113)
HSLhsl(329, 62%, 43%)
HSVhsv(329, 76%, 70%)
CMYKcmyk(0%, 76.4%, 36.5%, 30.2%)
CIE-LABlab(41.71, 59.02, -7.83)
CIE-LCHlch(41.71, 59.53, 352.45°)
OKLaboklab(52.16% 0.1812 -0.02)
OKLCHoklch(52.16% 0.182 353.7)
XYZxyz(22.1701, 12.3159, 16.8293)
Luminance0.1231 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22A71 #2AB26B
analogous
#AF2AB2 #B22A71 #B22A2D
triadic
#B22A71 #71B22A #2A71B2
tetradic
#B22A71 #B2AF2A #2AB26B #2A2DB2
square
#B22A71 #B2AF2A #2AB26B #2A2DB2
split-complementary
#B22A71 #2DB22A #2AB2AF
monochromatic
#4F1332 #801E52 #B22A71 #D34690 #DF77AD

Accessibility & contrast

On white

6.06
#B22A71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#B22A71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22A71
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22A71#FFFFFF#000000##FFFFFF
##B22A711.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445373
Deuteranopia (green-blind)
#6B6B6E
Tritanopia (blue-blind)
#C01B4A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b22a71;
/* rgb */ color: rgb(178, 42, 113);
/* oklch */ color: oklch(52.2% 0.182 353.7);
Tailwind
colors: {
  custom: {
    50: '#ce7199',
    500: '#b22a71',
    950: '#000000',
  },
}
SCSS
$custom: #b22a71;
$custom-light: #ce7199;
$custom-dark: #000000;
JSON
{
  "hex": "#b22a71",
  "rgb": {
    "r": 178,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 328.676,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.5216,
    "c": 0.18226,
    "h": 353.7
  },
  "luminance": 0.12313
}

Semantic roles & 50–950 ramp

primary
#B22A71
secondary
#71C79A
accent
#E59043
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B22A71

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

Preview Lab → · Contrast checker → · Palette generator →

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