#B22B6B#B22B6B

#B22B6B is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.0% C 0.179 H 356.7°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#B22B6B
RGBrgb(178, 43, 107)
HSLhsl(332, 61%, 43%)
HSVhsv(332, 76%, 70%)
CMYKcmyk(0%, 75.8%, 39.9%, 30.2%)
CIE-LABlab(41.62, 58.06, -4.22)
CIE-LCHlch(41.62, 58.22, 355.84°)
OKLaboklab(52.03% 0.1784 -0.0104)
OKLCHoklch(52.03% 0.179 356.7)
XYZxyz(21.8794, 12.2570, 15.1207)
Luminance0.1225 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22B6B #2BB272
analogous
#B22BAE #B22B6B #B22F2B
triadic
#B22B6B #6BB22B #2B6BB2
tetradic
#B22B6B #AEB22B #2BB272 #2F2BB2
square
#B22B6B #AEB22B #2BB272 #2F2BB2
split-complementary
#B22B6B #2BB22F #2BAEB2
monochromatic
#4F1330 #811F4D #B22B6B #D34889 #DF79A9

Accessibility & contrast

On white

6.09
#B22B6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#B22B6B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22B6B
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22B6B#FFFFFF#000000##FFFFFF
##B22B6B1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47526D
Deuteranopia (green-blind)
#6C6B68
Tritanopia (blue-blind)
#C11847
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b22b6b;
/* rgb */ color: rgb(178, 43, 107);
/* oklch */ color: oklch(52.0% 0.179 356.7);
Tailwind
colors: {
  custom: {
    50: '#ce7195',
    500: '#b22b6b',
    950: '#000000',
  },
}
SCSS
$custom: #b22b6b;
$custom-light: #ce7195;
$custom-dark: #000000;
JSON
{
  "hex": "#b22b6b",
  "rgb": {
    "r": 178,
    "g": 43,
    "b": 107
  },
  "hsl": {
    "h": 331.556,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52026,
    "c": 0.17868,
    "h": 356.7
  },
  "luminance": 0.12254
}

Semantic roles & 50–950 ramp

primary
#B22B6B
secondary
#72C79F
accent
#E49844
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14090D
muted
#837B7E

Preview Lab

Preview with #B22B6B

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

Preview Lab → · Contrast checker → · Palette generator →

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