#B22698#B22698

#B22698 is a mid, highly saturated pink. Relative luminance 0.131; OKLCH L 53.6% C 0.209 H 337.1°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#B22698
RGBrgb(178, 38, 152)
HSLhsl(311, 65%, 42%)
HSVhsv(311, 79%, 70%)
CMYKcmyk(0%, 78.7%, 14.6%, 30.2%)
CIE-LABlab(42.94, 65.09, -29.84)
CIE-LCHlch(42.94, 71.61, 335.37°)
OKLaboklab(53.59% 0.1921 -0.0813)
OKLCHoklch(53.59% 0.209 337.1)
XYZxyz(24.7212, 13.1206, 30.9302)
Luminance0.1312 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22698 #26B240
analogous
#8626B2 #B22698 #B22652
triadic
#B22698 #98B226 #2698B2
tetradic
#B22698 #B28626 #26B240 #2652B2
square
#B22698 #B28626 #26B240 #2652B2
split-complementary
#B22698 #52B226 #26B286
monochromatic
#4D1042 #801B6D #B22698 #D63FBA #E172CC

Accessibility & contrast

On white

5.80
#B22698 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B22698 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22698
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22698#FFFFFF#000000##FFFFFF
##B226981.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B589B
Deuteranopia (green-blind)
#5D6D95
Tritanopia (blue-blind)
#BC305E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b22698;
/* rgb */ color: rgb(178, 38, 152);
/* oklch */ color: oklch(53.6% 0.209 337.1);
Tailwind
colors: {
  custom: {
    50: '#cd71b6',
    500: '#b22698',
    950: '#000000',
  },
}
SCSS
$custom: #b22698;
$custom-light: #cd71b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b22698",
  "rgb": {
    "r": 178,
    "g": 38,
    "b": 152
  },
  "hsl": {
    "h": 311.143,
    "s": 64.815,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53588,
    "c": 0.20855,
    "h": 337.1
  },
  "luminance": 0.13118
}

Semantic roles & 50–950 ramp

primary
#B22698
secondary
#6CC87D
accent
#E85F40
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22698

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

Preview Lab → · Contrast checker → · Palette generator →

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