#B22E5A#B22E5A

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

Color values

HEX#B22E5A
RGBrgb(178, 46, 90)
HSLhsl(340, 59%, 44%)
HSVhsv(340, 74%, 70%)
CMYKcmyk(0%, 74.2%, 49.4%, 30.2%)
CIE-LABlab(41.47, 55.44, 6.21)
CIE-LCHlch(41.47, 55.79, 6.39°)
OKLaboklab(51.75% 0.1694 0.0164)
OKLCHoklch(51.75% 0.17 5.5)
XYZxyz(21.1844, 12.1600, 10.9025)
Luminance0.1216 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22E5A #2EB286
analogous
#B22E9C #B22E5A #B2442E
triadic
#B22E5A #5AB22E #2E5AB2
tetradic
#B22E5A #9CB22E #2EB286 #442EB2
square
#B22E5A #9CB22E #2EB286 #442EB2
split-complementary
#B22E5A #2EB244 #2E9CB2
monochromatic
#511529 #812141 #B22E5A #D14C79 #DD7D9D

Accessibility & contrast

On white

6.12
#B22E5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B22E5A
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22E5A#FFFFFF#000000##FFFFFF
##B22E5A1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E515B
Deuteranopia (green-blind)
#716B57
Tritanopia (blue-blind)
#C21141
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b22e5a;
/* rgb */ color: rgb(178, 46, 90);
/* oklch */ color: oklch(51.7% 0.170 5.5);
Tailwind
colors: {
  custom: {
    50: '#cf7288',
    500: '#b22e5a',
    950: '#000000',
  },
}
SCSS
$custom: #b22e5a;
$custom-light: #cf7288;
$custom-dark: #000000;
JSON
{
  "hex": "#b22e5a",
  "rgb": {
    "r": 178,
    "g": 46,
    "b": 90
  },
  "hsl": {
    "h": 340,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51748,
    "c": 0.17016,
    "h": 5.5
  },
  "luminance": 0.12157
}

Semantic roles & 50–950 ramp

primary
#B22E5A
secondary
#76C6AB
accent
#E2AE46
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B22E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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