#B22A5B#B22A5B

#B22A5B is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.4% C 0.174 H 4.3°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#B22A5B
RGBrgb(178, 42, 91)
HSLhsl(338, 62%, 43%)
HSVhsv(338, 76%, 70%)
CMYKcmyk(0%, 76.4%, 48.9%, 30.2%)
CIE-LABlab(41.02, 56.86, 4.95)
CIE-LCHlch(41.02, 57.07, 4.97°)
OKLaboklab(51.43% 0.174 0.0132)
OKLCHoklch(51.43% 0.175 4.3)
XYZxyz(21.0782, 11.8791, 11.0785)
Luminance0.1188 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22A5B #2AB281
analogous
#B22A9F #B22A5B #B23D2A
triadic
#B22A5B #5BB22A #2A5BB2
tetradic
#B22A5B #9FB22A #2AB281 #3D2AB2
square
#B22A5B #9FB22A #2AB281 #3D2AB2
split-complementary
#B22A5B #2AB23D #2A9FB2
monochromatic
#4F1328 #801E42 #B22A5B #D34679 #DF779D

Accessibility & contrast

On white

6.22
#B22A5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#B22A5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22A5B
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22A5B#FFFFFF#000000##FFFFFF
##B22A5B1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B505C
Deuteranopia (green-blind)
#6F6A58
Tritanopia (blue-blind)
#C2073F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b22a5b;
/* rgb */ color: rgb(178, 42, 91);
/* oklch */ color: oklch(51.4% 0.174 4.3);
Tailwind
colors: {
  custom: {
    50: '#cf7089',
    500: '#b22a5b',
    950: '#000000',
  },
}
SCSS
$custom: #b22a5b;
$custom-light: #cf7089;
$custom-dark: #000000;
JSON
{
  "hex": "#b22a5b",
  "rgb": {
    "r": 178,
    "g": 42,
    "b": 91
  },
  "hsl": {
    "h": 338.382,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51428,
    "c": 0.1745,
    "h": 4.3
  },
  "luminance": 0.11876
}

Semantic roles & 50–950 ramp

primary
#B22A5B
secondary
#71C7A8
accent
#E5AB43
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B22A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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