#B22B5B#B22B5B

#B22B5B is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.5% C 0.173 H 4.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#B22B5B
RGBrgb(178, 43, 91)
HSLhsl(339, 61%, 43%)
HSVhsv(339, 76%, 70%)
CMYKcmyk(0%, 75.8%, 48.9%, 30.2%)
CIE-LABlab(41.14, 56.53, 5.11)
CIE-LCHlch(41.14, 56.76, 5.17°)
OKLaboklab(51.51% 0.173 0.0136)
OKLCHoklch(51.51% 0.173 4.5)
XYZxyz(21.1141, 11.9509, 11.0904)
Luminance0.1195 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22B5B #2BB282
analogous
#B22B9E #B22B5B #B23F2B
triadic
#B22B5B #5BB22B #2B5BB2
tetradic
#B22B5B #9EB22B #2BB282 #3F2BB2
square
#B22B5B #9EB22B #2BB282 #3F2BB2
split-complementary
#B22B5B #2BB23F #2B9EB2
monochromatic
#4F1329 #811F42 #B22B5B #D34879 #DF799D

Accessibility & contrast

On white

6.20
#B22B5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#B22B5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22B5B
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22B5B#FFFFFF#000000##FFFFFF
##B22B5B1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C505C
Deuteranopia (green-blind)
#6F6B58
Tritanopia (blue-blind)
#C20A40
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b22b5b;
/* rgb */ color: rgb(178, 43, 91);
/* oklch */ color: oklch(51.5% 0.173 4.5);
Tailwind
colors: {
  custom: {
    50: '#cf7189',
    500: '#b22b5b',
    950: '#000000',
  },
}
SCSS
$custom: #b22b5b;
$custom-light: #cf7189;
$custom-dark: #000000;
JSON
{
  "hex": "#b22b5b",
  "rgb": {
    "r": 178,
    "g": 43,
    "b": 91
  },
  "hsl": {
    "h": 338.667,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51512,
    "c": 0.17349,
    "h": 4.5
  },
  "luminance": 0.11948
}

Semantic roles & 50–950 ramp

primary
#B22B5B
secondary
#72C7A9
accent
#E4AB44
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B22B5B

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

Preview Lab → · Contrast checker → · Palette generator →

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