#B22B71#B22B71

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

Color values

HEX#B22B71
RGBrgb(178, 43, 113)
HSLhsl(329, 61%, 43%)
HSVhsv(329, 76%, 70%)
CMYKcmyk(0%, 75.8%, 36.5%, 30.2%)
CIE-LABlab(41.83, 58.70, -7.66)
CIE-LCHlch(41.83, 59.20, 352.57°)
OKLaboklab(52.24% 0.1802 -0.0195)
OKLCHoklch(52.24% 0.181 353.8)
XYZxyz(22.2060, 12.3877, 16.8413)
Luminance0.1239 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22B71 #2BB26C
analogous
#AF2BB2 #B22B71 #B22B2D
triadic
#B22B71 #71B22B #2B71B2
tetradic
#B22B71 #B2AF2B #2BB26C #2B2DB2
square
#B22B71 #B2AF2B #2BB26C #2B2DB2
split-complementary
#B22B71 #2DB22B #2BB2AF
monochromatic
#4F1332 #811F52 #B22B71 #D34890 #DF79AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B22B71#FFFFFF#000000##FFFFFF
##B22B711.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)
#455373
Deuteranopia (green-blind)
#6B6C6E
Tritanopia (blue-blind)
#C01D4A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b22b71;
/* rgb */ color: rgb(178, 43, 113);
/* oklch */ color: oklch(52.2% 0.181 353.8);
Tailwind
colors: {
  custom: {
    50: '#ce7199',
    500: '#b22b71',
    950: '#000000',
  },
}
SCSS
$custom: #b22b71;
$custom-light: #ce7199;
$custom-dark: #000000;
JSON
{
  "hex": "#b22b71",
  "rgb": {
    "r": 178,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 328.889,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52242,
    "c": 0.18121,
    "h": 353.8
  },
  "luminance": 0.12385
}

Semantic roles & 50–950 ramp

primary
#B22B71
secondary
#72C79B
accent
#E49144
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B22B71

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

Preview Lab → · Contrast checker → · Palette generator →

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