#B22992#B22992

#B22992 is a mid, highly saturated pink. Relative luminance 0.131; OKLCH L 53.5% C 0.202 H 339.4°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#B22992
RGBrgb(178, 41, 146)
HSLhsl(314, 63%, 43%)
HSVhsv(314, 77%, 70%)
CMYKcmyk(0%, 77%, 18%, 30.2%)
CIE-LABlab(42.96, 63.40, -26.20)
CIE-LCHlch(42.96, 68.60, 337.55°)
OKLaboklab(53.5% 0.1889 -0.0709)
OKLCHoklch(53.5% 0.202 339.4)
XYZxyz(24.3420, 13.1286, 28.4407)
Luminance0.1313 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22992 #29B249
analogous
#8E29B2 #B22992 #B2294D
triadic
#B22992 #92B229 #2992B2
tetradic
#B22992 #B28E29 #29B249 #294DB2
square
#B22992 #B28E29 #29B249 #294DB2
split-complementary
#B22992 #4DB229 #29B28E
monochromatic
#4F1240 #801E69 #B22992 #D444B2 #DF76C7

Accessibility & contrast

On white

5.79
#B22992 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#B22992 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22992
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22992#FFFFFF#000000##FFFFFF
##B229921.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325895
Deuteranopia (green-blind)
#606D8F
Tritanopia (blue-blind)
#BC2F5B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b22992;
/* rgb */ color: rgb(178, 41, 146);
/* oklch */ color: oklch(53.5% 0.202 339.4);
Tailwind
colors: {
  custom: {
    50: '#cd72b2',
    500: '#b22992',
    950: '#000000',
  },
}
SCSS
$custom: #b22992;
$custom-light: #cd72b2;
$custom-dark: #000000;
JSON
{
  "hex": "#b22992",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 146
  },
  "hsl": {
    "h": 314.015,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53503,
    "c": 0.20172,
    "h": 339.4
  },
  "luminance": 0.13126
}

Semantic roles & 50–950 ramp

primary
#B22992
secondary
#70C784
accent
#E66842
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22992

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

Preview Lab → · Contrast checker → · Palette generator →

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