#B22156#B22156

#B22156 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.6% C 0.181 H 5.5°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#B22156
RGBrgb(178, 33, 86)
HSLhsl(338, 69%, 41%)
HSVhsv(338, 81%, 70%)
CMYKcmyk(0%, 81.5%, 51.7%, 30.2%)
CIE-LABlab(39.96, 59.06, 6.59)
CIE-LCHlch(39.96, 59.43, 6.37°)
OKLaboklab(50.6% 0.1806 0.0173)
OKLCHoklch(50.6% 0.181 5.5)
XYZxyz(20.5856, 11.2275, 9.8855)
Luminance0.1123 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22156 #21B27D
analogous
#B2219F #B22156 #B23521
triadic
#B22156 #56B221 #2156B2
tetradic
#B22156 #9FB221 #21B27D #3521B2
square
#B22156 #9FB221 #21B27D #3521B2
split-complementary
#B22156 #21B235 #219FB2
monochromatic
#4B0E24 #7E173D #B22156 #DA3672 #E36A96

Accessibility & contrast

On white

6.47
#B22156 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#B22156 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22156
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22156#FFFFFF#000000##FFFFFF
##B221561.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484C57
Deuteranopia (green-blind)
#6E6853
Tritanopia (blue-blind)
#C20039
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b22156;
/* rgb */ color: rgb(178, 33, 86);
/* oklch */ color: oklch(50.6% 0.181 5.5);
Tailwind
colors: {
  custom: {
    50: '#cf6d85',
    500: '#b22156',
    950: '#000000',
  },
}
SCSS
$custom: #b22156;
$custom-light: #cf6d85;
$custom-dark: #000000;
JSON
{
  "hex": "#b22156",
  "rgb": {
    "r": 178,
    "g": 33,
    "b": 86
  },
  "hsl": {
    "h": 338.069,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50602,
    "c": 0.18146,
    "h": 5.5
  },
  "luminance": 0.11225
}

Semantic roles & 50–950 ramp

primary
#B22156
secondary
#66C9A5
accent
#ECAB3C
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B22156

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

Preview Lab → · Contrast checker → · Palette generator →

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