#B22C5A#B22C5A

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

Color values

HEX#B22C5A
RGBrgb(178, 44, 90)
HSLhsl(339, 60%, 44%)
HSVhsv(339, 75%, 70%)
CMYKcmyk(0%, 75.3%, 49.4%, 30.2%)
CIE-LABlab(41.23, 56.12, 5.87)
CIE-LCHlch(41.23, 56.42, 5.97°)
OKLaboklab(51.57% 0.1715 0.0155)
OKLCHoklch(51.57% 0.172 5.2)
XYZxyz(21.1081, 12.0074, 10.8770)
Luminance0.1201 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22C5A #2CB284
analogous
#B22C9D #B22C5A #B2412C
triadic
#B22C5A #5AB22C #2C5AB2
tetradic
#B22C5A #9DB22C #2CB284 #412CB2
square
#B22C5A #9DB22C #2CB284 #412CB2
split-complementary
#B22C5A #2CB241 #2C9DB2
monochromatic
#501428 #812041 #B22C5A #D24978 #DE7A9D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B22C5A#FFFFFF#000000##FFFFFF
##B22C5A1.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)
#4D505B
Deuteranopia (green-blind)
#706B57
Tritanopia (blue-blind)
#C20C40
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b22c5a;
/* rgb */ color: rgb(178, 44, 90);
/* oklch */ color: oklch(51.6% 0.172 5.2);
Tailwind
colors: {
  custom: {
    50: '#cf7188',
    500: '#b22c5a',
    950: '#000000',
  },
}
SCSS
$custom: #b22c5a;
$custom-light: #cf7188;
$custom-dark: #000000;
JSON
{
  "hex": "#b22c5a",
  "rgb": {
    "r": 178,
    "g": 44,
    "b": 90
  },
  "hsl": {
    "h": 339.403,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51569,
    "c": 0.17224,
    "h": 5.2
  },
  "luminance": 0.12005
}

Semantic roles & 50–950 ramp

primary
#B22C5A
secondary
#73C6AA
accent
#E4AD44
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B22C5A

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

Preview Lab → · Contrast checker → · Palette generator →

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