#B22B5A#B22B5A

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

Color values

HEX#B22B5A
RGBrgb(178, 43, 90)
HSLhsl(339, 61%, 43%)
HSVhsv(339, 76%, 70%)
CMYKcmyk(0%, 75.8%, 49.4%, 30.2%)
CIE-LABlab(41.11, 56.45, 5.70)
CIE-LCHlch(41.11, 56.73, 5.77°)
OKLaboklab(51.48% 0.1726 0.0151)
OKLCHoklch(51.48% 0.173 5)
XYZxyz(21.0713, 11.9338, 10.8648)
Luminance0.1193 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22B5A #2BB283
analogous
#B22B9D #B22B5A #B23F2B
triadic
#B22B5A #5AB22B #2B5AB2
tetradic
#B22B5A #9DB22B #2BB283 #3F2BB2
square
#B22B5A #9DB22B #2BB283 #3F2BB2
split-complementary
#B22B5A #2BB23F #2B9DB2
monochromatic
#4F1328 #811F41 #B22B5A #D34878 #DF799C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B22B5A#FFFFFF#000000##FFFFFF
##B22B5A1.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)
#4C505B
Deuteranopia (green-blind)
#706B57
Tritanopia (blue-blind)
#C2093F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b22b5a;
/* rgb */ color: rgb(178, 43, 90);
/* oklch */ color: oklch(51.5% 0.173 5.0);
Tailwind
colors: {
  custom: {
    50: '#cf7188',
    500: '#b22b5a',
    950: '#000000',
  },
}
SCSS
$custom: #b22b5a;
$custom-light: #cf7188;
$custom-dark: #000000;
JSON
{
  "hex": "#b22b5a",
  "rgb": {
    "r": 178,
    "g": 43,
    "b": 90
  },
  "hsl": {
    "h": 339.111,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51483,
    "c": 0.17326,
    "h": 5
  },
  "luminance": 0.11931
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B22B5A

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

Preview Lab → · Contrast checker → · Palette generator →

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