#B22B7E#B22B7E

#B22B7E is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.8% C 0.188 H 347.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#B22B7E
RGBrgb(178, 43, 126)
HSLhsl(323, 61%, 43%)
HSVhsv(323, 76%, 70%)
CMYKcmyk(0%, 75.8%, 29.2%, 30.2%)
CIE-LABlab(42.31, 60.20, -14.97)
CIE-LCHlch(42.31, 62.03, 346.03°)
OKLaboklab(52.75% 0.1835 -0.0394)
OKLCHoklch(52.75% 0.188 347.9)
XYZxyz(22.9910, 12.7017, 20.9755)
Luminance0.1270 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22B7E #2BB25F
analogous
#A22BB2 #B22B7E #B22B3A
triadic
#B22B7E #7EB22B #2B7EB2
tetradic
#B22B7E #B2A22B #2BB25F #2B3AB2
square
#B22B7E #B2A22B #2BB25F #2B3AB2
split-complementary
#B22B7E #3AB22B #2BB2A2
monochromatic
#4F1338 #811F5B #B22B7E #D3489D #DF79B7

Accessibility & contrast

On white

5.93
#B22B7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#B22B7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22B7E
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22B7E#FFFFFF#000000##FFFFFF
##B22B7E1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5580
Deuteranopia (green-blind)
#676C7B
Tritanopia (blue-blind)
#BF2551
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b22b7e;
/* rgb */ color: rgb(178, 43, 126);
/* oklch */ color: oklch(52.8% 0.188 347.9);
Tailwind
colors: {
  custom: {
    50: '#cd72a3',
    500: '#b22b7e',
    950: '#000000',
  },
}
SCSS
$custom: #b22b7e;
$custom-light: #cd72a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b22b7e",
  "rgb": {
    "r": 178,
    "g": 43,
    "b": 126
  },
  "hsl": {
    "h": 323.111,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52754,
    "c": 0.18767,
    "h": 347.9
  },
  "luminance": 0.12699
}

Semantic roles & 50–950 ramp

primary
#B22B7E
secondary
#72C793
accent
#E48144
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B22B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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