#B22E5B#B22E5B

#B22E5B is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.8% C 0.170 H 5.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#B22E5B
RGBrgb(178, 46, 91)
HSLhsl(340, 59%, 44%)
HSVhsv(340, 74%, 70%)
CMYKcmyk(0%, 74.2%, 48.9%, 30.2%)
CIE-LABlab(41.50, 55.53, 5.62)
CIE-LCHlch(41.50, 55.81, 5.78°)
OKLaboklab(51.78% 0.1697 0.0149)
OKLCHoklch(51.78% 0.17 5)
XYZxyz(21.2272, 12.1772, 11.1281)
Luminance0.1217 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22E5B #2EB285
analogous
#B22E9D #B22E5B #B2432E
triadic
#B22E5B #5BB22E #2E5BB2
tetradic
#B22E5B #9DB22E #2EB285 #432EB2
square
#B22E5B #9DB22E #2EB285 #432EB2
split-complementary
#B22E5B #2EB243 #2E9DB2
monochromatic
#511529 #812142 #B22E5B #D14C7A #DD7D9E

Accessibility & contrast

On white

6.11
#B22E5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#B22E5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22E5B
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22E5B#FFFFFF#000000##FFFFFF
##B22E5B1.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D515C
Deuteranopia (green-blind)
#706B58
Tritanopia (blue-blind)
#C21241
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b22e5b;
/* rgb */ color: rgb(178, 46, 91);
/* oklch */ color: oklch(51.8% 0.170 5.0);
Tailwind
colors: {
  custom: {
    50: '#cf7289',
    500: '#b22e5b',
    950: '#000000',
  },
}
SCSS
$custom: #b22e5b;
$custom-light: #cf7289;
$custom-dark: #000000;
JSON
{
  "hex": "#b22e5b",
  "rgb": {
    "r": 178,
    "g": 46,
    "b": 91
  },
  "hsl": {
    "h": 339.545,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51776,
    "c": 0.17039,
    "h": 5
  },
  "luminance": 0.12174
}

Semantic roles & 50–950 ramp

primary
#B22E5B
secondary
#76C6AB
accent
#E2AD46
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B22E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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