#B22799#B22799

#B22799 is a mid, highly saturated pink. Relative luminance 0.132; OKLCH L 53.7% C 0.208 H 336.7°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#B22799
RGBrgb(178, 39, 153)
HSLhsl(311, 64%, 43%)
HSVhsv(311, 78%, 70%)
CMYKcmyk(0%, 78.1%, 14%, 30.2%)
CIE-LABlab(43.09, 64.96, -30.22)
CIE-LCHlch(43.09, 71.64, 335.05°)
OKLaboklab(53.71% 0.1913 -0.0824)
OKLCHoklch(53.71% 0.208 336.7)
XYZxyz(24.8359, 13.2183, 31.3742)
Luminance0.1322 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22799 #27B240
analogous
#8527B2 #B22799 #B22754
triadic
#B22799 #99B227 #2799B2
tetradic
#B22799 #B28527 #27B240 #2754B2
square
#B22799 #B28527 #27B240 #2754B2
split-complementary
#B22799 #54B227 #27B285
monochromatic
#4E1143 #801C6E #B22799 #D541BB #E073CD

Accessibility & contrast

On white

5.76
#B22799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#B22799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22799
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22799#FFFFFF#000000##FFFFFF
##B227991.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B589C
Deuteranopia (green-blind)
#5D6D96
Tritanopia (blue-blind)
#BC315E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b22799;
/* rgb */ color: rgb(178, 39, 153);
/* oklch */ color: oklch(53.7% 0.208 336.7);
Tailwind
colors: {
  custom: {
    50: '#cd71b7',
    500: '#b22799',
    950: '#000000',
  },
}
SCSS
$custom: #b22799;
$custom-light: #cd71b7;
$custom-dark: #000000;
JSON
{
  "hex": "#b22799",
  "rgb": {
    "r": 178,
    "g": 39,
    "b": 153
  },
  "hsl": {
    "h": 310.791,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53709,
    "c": 0.20829,
    "h": 336.7
  },
  "luminance": 0.13216
}

Semantic roles & 50–950 ramp

primary
#B22799
secondary
#6DC87E
accent
#E75F41
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22799

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

Preview Lab → · Contrast checker → · Palette generator →

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