#B22151#B22151

#B22151 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.5% C 0.180 H 7.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#B22151
RGBrgb(178, 33, 81)
HSLhsl(340, 69%, 41%)
HSVhsv(340, 81%, 70%)
CMYKcmyk(0%, 81.5%, 54.5%, 30.2%)
CIE-LABlab(39.83, 58.67, 9.59)
CIE-LCHlch(39.83, 59.45, 9.28°)
OKLaboklab(50.47% 0.1788 0.0245)
OKLCHoklch(50.47% 0.18 7.8)
XYZxyz(20.3911, 11.1497, 8.8614)
Luminance0.1115 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22151 #21B282
analogous
#B2219A #B22151 #B23A21
triadic
#B22151 #51B221 #2151B2
tetradic
#B22151 #9AB221 #21B282 #3A21B2
square
#B22151 #9AB221 #21B282 #3A21B2
split-complementary
#B22151 #21B23A #219AB2
monochromatic
#4B0E22 #7E173A #B22151 #DA366C #E36A92

Accessibility & contrast

On white

6.50
#B22151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#B22151 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22151
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22151#FFFFFF#000000##FFFFFF
##B221511.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494B52
Deuteranopia (green-blind)
#6F684D
Tritanopia (blue-blind)
#C30037
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b22151;
/* rgb */ color: rgb(178, 33, 81);
/* oklch */ color: oklch(50.5% 0.180 7.8);
Tailwind
colors: {
  custom: {
    50: '#d06d81',
    500: '#b22151',
    950: '#000000',
  },
}
SCSS
$custom: #b22151;
$custom-light: #d06d81;
$custom-dark: #000000;
JSON
{
  "hex": "#b22151",
  "rgb": {
    "r": 178,
    "g": 33,
    "b": 81
  },
  "hsl": {
    "h": 340.138,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50465,
    "c": 0.18043,
    "h": 7.8
  },
  "luminance": 0.11147
}

Semantic roles & 50–950 ramp

primary
#B22151
secondary
#66C9A8
accent
#ECB23C
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B22151

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

Preview Lab → · Contrast checker → · Palette generator →

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