#B22C5B#B22C5B

#B22C5B is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.6% C 0.172 H 4.7°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#B22C5B
RGBrgb(178, 44, 91)
HSLhsl(339, 60%, 44%)
HSVhsv(339, 75%, 70%)
CMYKcmyk(0%, 75.3%, 48.9%, 30.2%)
CIE-LABlab(41.26, 56.20, 5.28)
CIE-LCHlch(41.26, 56.45, 5.37°)
OKLaboklab(51.6% 0.1719 0.014)
OKLCHoklch(51.6% 0.172 4.7)
XYZxyz(21.1509, 12.0245, 11.1027)
Luminance0.1202 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22C5B #2CB283
analogous
#B22C9E #B22C5B #B2402C
triadic
#B22C5B #5BB22C #2C5BB2
tetradic
#B22C5B #9EB22C #2CB283 #402CB2
square
#B22C5B #9EB22C #2CB283 #402CB2
split-complementary
#B22C5B #2CB240 #2C9EB2
monochromatic
#501429 #812042 #B22C5B #D24979 #DE7A9D

Accessibility & contrast

On white

6.17
#B22C5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#B22C5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22C5B
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22C5B#FFFFFF#000000##FFFFFF
##B22C5B1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C505C
Deuteranopia (green-blind)
#706B58
Tritanopia (blue-blind)
#C20D40
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b22c5b;
/* rgb */ color: rgb(178, 44, 91);
/* oklch */ color: oklch(51.6% 0.172 4.7);
Tailwind
colors: {
  custom: {
    50: '#cf7189',
    500: '#b22c5b',
    950: '#000000',
  },
}
SCSS
$custom: #b22c5b;
$custom-light: #cf7189;
$custom-dark: #000000;
JSON
{
  "hex": "#b22c5b",
  "rgb": {
    "r": 178,
    "g": 44,
    "b": 91
  },
  "hsl": {
    "h": 338.955,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51598,
    "c": 0.17248,
    "h": 4.7
  },
  "luminance": 0.12022
}

Semantic roles & 50–950 ramp

primary
#B22C5B
secondary
#73C6A9
accent
#E4AC44
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B22C5B

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

Preview Lab → · Contrast checker → · Palette generator →

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