#B22A6B#B22A6B

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

Color values

HEX#B22A6B
RGBrgb(178, 42, 107)
HSLhsl(331, 62%, 43%)
HSVhsv(331, 76%, 70%)
CMYKcmyk(0%, 76.4%, 39.9%, 30.2%)
CIE-LABlab(41.51, 58.38, -4.39)
CIE-LCHlch(41.51, 58.55, 355.70°)
OKLaboklab(51.94% 0.1794 -0.0108)
OKLCHoklch(51.94% 0.18 356.6)
XYZxyz(21.8434, 12.1852, 15.1088)
Luminance0.1218 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22A6B #2AB271
analogous
#B22AAF #B22A6B #B22D2A
triadic
#B22A6B #6BB22A #2A6BB2
tetradic
#B22A6B #AFB22A #2AB271 #2D2AB2
square
#B22A6B #AFB22A #2AB271 #2D2AB2
split-complementary
#B22A6B #2AB22D #2AAFB2
monochromatic
#4F132F #801E4D #B22A6B #D34689 #DF77A9

Accessibility & contrast

On white

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

On black

3.44
#B22A6B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B22A6B#FFFFFF#000000##FFFFFF
##B22A6B1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46526D
Deuteranopia (green-blind)
#6C6B68
Tritanopia (blue-blind)
#C11747
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b22a6b;
/* rgb */ color: rgb(178, 42, 107);
/* oklch */ color: oklch(51.9% 0.180 356.6);
Tailwind
colors: {
  custom: {
    50: '#ce7195',
    500: '#b22a6b',
    950: '#000000',
  },
}
SCSS
$custom: #b22a6b;
$custom-light: #ce7195;
$custom-dark: #000000;
JSON
{
  "hex": "#b22a6b",
  "rgb": {
    "r": 178,
    "g": 42,
    "b": 107
  },
  "hsl": {
    "h": 331.324,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51943,
    "c": 0.17972,
    "h": 356.6
  },
  "luminance": 0.12182
}

Semantic roles & 50–950 ramp

primary
#B22A6B
secondary
#71C79E
accent
#E59743
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B22A6B

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

Preview Lab → · Contrast checker → · Palette generator →

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