#B22B97#B22B97

#B22B97 is a mid, highly saturated pink. Relative luminance 0.134; OKLCH L 53.9% C 0.203 H 337.5°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#B22B97
RGBrgb(178, 43, 151)
HSLhsl(312, 61%, 43%)
HSVhsv(312, 76%, 70%)
CMYKcmyk(0%, 75.8%, 15.2%, 30.2%)
CIE-LABlab(43.40, 63.50, -28.52)
CIE-LCHlch(43.40, 69.61, 335.81°)
OKLaboklab(53.9% 0.1876 -0.0775)
OKLCHoklch(53.9% 0.203 337.5)
XYZxyz(24.8104, 13.4295, 30.5576)
Luminance0.1343 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22B97 #2BB246
analogous
#892BB2 #B22B97 #B22B53
triadic
#B22B97 #97B22B #2B97B2
tetradic
#B22B97 #B2892B #2BB246 #2B53B2
square
#B22B97 #B2892B #2BB246 #2B53B2
split-complementary
#B22B97 #53B22B #2BB289
monochromatic
#4F1343 #811F6D #B22B97 #D348B7 #DF79CA

Accessibility & contrast

On white

5.70
#B22B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#B22B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22B97
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22B97#FFFFFF#000000##FFFFFF
##B22B971.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30599A
Deuteranopia (green-blind)
#5F6E94
Tritanopia (blue-blind)
#BC335E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b22b97;
/* rgb */ color: rgb(178, 43, 151);
/* oklch */ color: oklch(53.9% 0.203 337.5);
Tailwind
colors: {
  custom: {
    50: '#cd73b6',
    500: '#b22b97',
    950: '#000000',
  },
}
SCSS
$custom: #b22b97;
$custom-light: #cd73b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b22b97",
  "rgb": {
    "r": 178,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 312,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53903,
    "c": 0.20299,
    "h": 337.5
  },
  "luminance": 0.13427
}

Semantic roles & 50–950 ramp

primary
#B22B97
secondary
#72C783
accent
#E46444
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22B97

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

Preview Lab → · Contrast checker → · Palette generator →

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