#B22B8A#B22B8A

#B22B8A is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.3% C 0.195 H 342.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#B22B8A
RGBrgb(178, 43, 138)
HSLhsl(318, 61%, 43%)
HSVhsv(318, 76%, 70%)
CMYKcmyk(0%, 75.8%, 22.5%, 30.2%)
CIE-LABlab(42.81, 61.72, -21.56)
CIE-LCHlch(42.81, 65.38, 340.74°)
OKLaboklab(53.28% 0.1858 -0.0578)
OKLCHoklch(53.28% 0.195 342.7)
XYZxyz(23.8123, 13.0302, 25.3009)
Luminance0.1303 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22B8A #2BB253
analogous
#962BB2 #B22B8A #B22B46
triadic
#B22B8A #8AB22B #2B8AB2
tetradic
#B22B8A #B2962B #2BB253 #2B46B2
square
#B22B8A #B2962B #2BB253 #2B46B2
split-complementary
#B22B8A #46B22B #2BB296
monochromatic
#4F133E #811F64 #B22B8A #D348A9 #DF79C0

Accessibility & contrast

On white

5.82
#B22B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B22B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22B8A
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22B8A#FFFFFF#000000##FFFFFF
##B22B8A1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39578D
Deuteranopia (green-blind)
#646D87
Tritanopia (blue-blind)
#BD2C57
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b22b8a;
/* rgb */ color: rgb(178, 43, 138);
/* oklch */ color: oklch(53.3% 0.195 342.7);
Tailwind
colors: {
  custom: {
    50: '#cd72ac',
    500: '#b22b8a',
    950: '#000000',
  },
}
SCSS
$custom: #b22b8a;
$custom-light: #cd72ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b22b8a",
  "rgb": {
    "r": 178,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 317.778,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53279,
    "c": 0.19462,
    "h": 342.7
  },
  "luminance": 0.13028
}

Semantic roles & 50–950 ramp

primary
#B22B8A
secondary
#72C78B
accent
#E47344
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B22B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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