#B22B81#B22B81

#B22B81 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.9% C 0.189 H 346.5°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#B22B81
RGBrgb(178, 43, 129)
HSLhsl(322, 61%, 43%)
HSVhsv(322, 76%, 70%)
CMYKcmyk(0%, 75.8%, 27.5%, 30.2%)
CIE-LABlab(42.43, 60.57, -16.64)
CIE-LCHlch(42.43, 62.81, 344.64°)
OKLaboklab(52.88% 0.1841 -0.044)
OKLCHoklch(52.88% 0.189 346.5)
XYZxyz(23.1875, 12.7803, 22.0104)
Luminance0.1278 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22B81 #2BB25C
analogous
#9F2BB2 #B22B81 #B22B3D
triadic
#B22B81 #81B22B #2B81B2
tetradic
#B22B81 #B29F2B #2BB25C #2B3DB2
square
#B22B81 #B29F2B #2BB25C #2B3DB2
split-complementary
#B22B81 #3DB22B #2BB29F
monochromatic
#4F133A #811F5D #B22B81 #D348A0 #DF79BA

Accessibility & contrast

On white

5.91
#B22B81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#B22B81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22B81
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22B81#FFFFFF#000000##FFFFFF
##B22B811.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5583
Deuteranopia (green-blind)
#676C7E
Tritanopia (blue-blind)
#BE2753
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b22b81;
/* rgb */ color: rgb(178, 43, 129);
/* oklch */ color: oklch(52.9% 0.189 346.5);
Tailwind
colors: {
  custom: {
    50: '#cd72a5',
    500: '#b22b81',
    950: '#000000',
  },
}
SCSS
$custom: #b22b81;
$custom-light: #cd72a5;
$custom-dark: #000000;
JSON
{
  "hex": "#b22b81",
  "rgb": {
    "r": 178,
    "g": 43,
    "b": 129
  },
  "hsl": {
    "h": 321.778,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52881,
    "c": 0.18932,
    "h": 346.5
  },
  "luminance": 0.12778
}

Semantic roles & 50–950 ramp

primary
#B22B81
secondary
#72C791
accent
#E47E44
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B22B81

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

Preview Lab → · Contrast checker → · Palette generator →

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