#B22B7B#B22B7B

#B22B7B is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.6% C 0.186 H 349.2°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#B22B7B
RGBrgb(178, 43, 123)
HSLhsl(324, 61%, 43%)
HSVhsv(324, 76%, 70%)
CMYKcmyk(0%, 75.8%, 30.9%, 30.2%)
CIE-LABlab(42.19, 59.84, -13.30)
CIE-LCHlch(42.19, 61.30, 347.47°)
OKLaboklab(52.63% 0.1828 -0.0348)
OKLCHoklch(52.63% 0.186 349.2)
XYZxyz(22.8003, 12.6254, 19.9713)
Luminance0.1262 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22B7B #2BB262
analogous
#A52BB2 #B22B7B #B22B38
triadic
#B22B7B #7BB22B #2B7BB2
tetradic
#B22B7B #B2A52B #2BB262 #2B38B2
square
#B22B7B #B2A52B #2BB262 #2B38B2
split-complementary
#B22B7B #38B22B #2BB2A5
monochromatic
#4F1337 #811F59 #B22B7B #D3489A #DF79B5

Accessibility & contrast

On white

5.96
#B22B7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#B22B7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22B7B
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22B7B#FFFFFF#000000##FFFFFF
##B22B7B1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41547D
Deuteranopia (green-blind)
#686C78
Tritanopia (blue-blind)
#BF234F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b22b7b;
/* rgb */ color: rgb(178, 43, 123);
/* oklch */ color: oklch(52.6% 0.186 349.2);
Tailwind
colors: {
  custom: {
    50: '#ce72a1',
    500: '#b22b7b',
    950: '#000000',
  },
}
SCSS
$custom: #b22b7b;
$custom-light: #ce72a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b22b7b",
  "rgb": {
    "r": 178,
    "g": 43,
    "b": 123
  },
  "hsl": {
    "h": 324.444,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52631,
    "c": 0.18607,
    "h": 349.2
  },
  "luminance": 0.12623
}

Semantic roles & 50–950 ramp

primary
#B22B7B
secondary
#72C795
accent
#E48544
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #B22B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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