#B22898#B22898

#B22898 is a mid, highly saturated pink. Relative luminance 0.133; OKLCH L 53.7% C 0.207 H 337.1°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B22898
RGBrgb(178, 40, 152)
HSLhsl(311, 63%, 43%)
HSVhsv(311, 78%, 70%)
CMYKcmyk(0%, 77.5%, 14.6%, 30.2%)
CIE-LABlab(43.14, 64.53, -29.54)
CIE-LCHlch(43.14, 70.97, 335.40°)
OKLaboklab(53.73% 0.1904 -0.0804)
OKLCHoklch(53.73% 0.207 337.1)
XYZxyz(24.7869, 13.2519, 30.9521)
Luminance0.1325 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22898 #28B242
analogous
#8728B2 #B22898 #B22853
triadic
#B22898 #98B228 #2898B2
tetradic
#B22898 #B28728 #28B242 #2853B2
square
#B22898 #B28728 #28B242 #2853B2
split-complementary
#B22898 #53B228 #28B287
monochromatic
#4E1243 #801D6D #B22898 #D543B9 #E075CC

Accessibility & contrast

On white

5.75
#B22898 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B22898 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22898
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22898#FFFFFF#000000##FFFFFF
##B228981.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b22898;
/* rgb */ color: rgb(178, 40, 152);
/* oklch */ color: oklch(53.7% 0.207 337.1);
Tailwind
colors: {
  custom: {
    50: '#cd72b6',
    500: '#b22898',
    950: '#000000',
  },
}
SCSS
$custom: #b22898;
$custom-light: #cd72b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b22898",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 152
  },
  "hsl": {
    "h": 311.304,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53729,
    "c": 0.20666,
    "h": 337.1
  },
  "luminance": 0.1325
}

Semantic roles & 50–950 ramp

primary
#B22898
secondary
#6FC77F
accent
#E66141
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22898

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

Preview Lab → · Contrast checker → · Palette generator →

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