#B22154#B22154

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

Color values

HEX#B22154
RGBrgb(178, 33, 84)
HSLhsl(339, 69%, 41%)
HSVhsv(339, 81%, 70%)
CMYKcmyk(0%, 81.5%, 52.8%, 30.2%)
CIE-LABlab(39.91, 58.90, 7.79)
CIE-LCHlch(39.91, 59.41, 7.53°)
OKLaboklab(50.55% 0.1799 0.0202)
OKLCHoklch(50.55% 0.181 6.4)
XYZxyz(20.5061, 11.1957, 9.4670)
Luminance0.1119 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22154 #21B27F
analogous
#B2219D #B22154 #B23721
triadic
#B22154 #54B221 #2154B2
tetradic
#B22154 #9DB221 #21B27F #3721B2
square
#B22154 #9DB221 #21B27F #3721B2
split-complementary
#B22154 #21B237 #219DB2
monochromatic
#4B0E23 #7E173C #B22154 #DA3670 #E36A95

Accessibility & contrast

On white

6.48
#B22154 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#B22154 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22154
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22154#FFFFFF#000000##FFFFFF
##B221541.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484C55
Deuteranopia (green-blind)
#6E6851
Tritanopia (blue-blind)
#C20038
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b22154;
/* rgb */ color: rgb(178, 33, 84);
/* oklch */ color: oklch(50.5% 0.181 6.4);
Tailwind
colors: {
  custom: {
    50: '#d06d83',
    500: '#b22154',
    950: '#000000',
  },
}
SCSS
$custom: #b22154;
$custom-light: #d06d83;
$custom-dark: #000000;
JSON
{
  "hex": "#b22154",
  "rgb": {
    "r": 178,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 338.897,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50546,
    "c": 0.18102,
    "h": 6.4
  },
  "luminance": 0.11193
}

Semantic roles & 50–950 ramp

primary
#B22154
secondary
#66C9A6
accent
#ECAE3C
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B22154

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

Preview Lab → · Contrast checker → · Palette generator →

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