#B22146#B22146

#B22146 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.2% C 0.179 H 12.9°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#B22146
RGBrgb(178, 33, 70)
HSLhsl(345, 69%, 41%)
HSVhsv(345, 81%, 70%)
CMYKcmyk(0%, 81.5%, 60.7%, 30.2%)
CIE-LABlab(39.58, 57.90, 16.23)
CIE-LCHlch(39.58, 60.13, 15.66°)
OKLaboklab(50.2% 0.1745 0.0399)
OKLCHoklch(50.2% 0.179 12.9)
XYZxyz(20.0115, 10.9979, 6.8623)
Luminance0.1100 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22146 #21B28D
analogous
#B2218F #B22146 #B24521
triadic
#B22146 #46B221 #2146B2
tetradic
#B22146 #8FB221 #21B28D #4521B2
square
#B22146 #8FB221 #21B28D #4521B2
split-complementary
#B22146 #21B245 #218FB2
monochromatic
#4B0E1D #7E1732 #B22146 #DA3660 #E36A89

Accessibility & contrast

On white

6.56
#B22146 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#B22146 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22146
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22146#FFFFFF#000000##FFFFFF
##B221461.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4A46
Deuteranopia (green-blind)
#706842
Tritanopia (blue-blind)
#C30031
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b22146;
/* rgb */ color: rgb(178, 33, 70);
/* oklch */ color: oklch(50.2% 0.179 12.9);
Tailwind
colors: {
  custom: {
    50: '#d06c79',
    500: '#b22146',
    950: '#000000',
  },
}
SCSS
$custom: #b22146;
$custom-light: #d06c79;
$custom-dark: #000000;
JSON
{
  "hex": "#b22146",
  "rgb": {
    "r": 178,
    "g": 33,
    "b": 70
  },
  "hsl": {
    "h": 344.69,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50195,
    "c": 0.179,
    "h": 12.9
  },
  "luminance": 0.10995
}

Semantic roles & 50–950 ramp

primary
#B22146
secondary
#66C9B0
accent
#ECBF3C
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #B22146

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

Preview Lab → · Contrast checker → · Palette generator →

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