#B32298#B32298

#B32298 is a mid, highly saturated pink. Relative luminance 0.130; OKLCH L 53.5% C 0.213 H 337.3°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#B32298
RGBrgb(179, 34, 152)
HSLhsl(311, 68%, 42%)
HSVhsv(311, 81%, 70%)
CMYKcmyk(0%, 81%, 15.1%, 29.8%)
CIE-LABlab(42.76, 66.36, -30.12)
CIE-LCHlch(42.76, 72.88, 335.59°)
OKLaboklab(53.49% 0.1961 -0.082)
OKLCHoklch(53.49% 0.213 337.3)
XYZxyz(24.8305, 12.9972, 30.9007)
Luminance0.1300 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B32298 #22B33D
analogous
#8522B3 #B32298 #B32250
triadic
#B32298 #98B322 #2298B3
tetradic
#B32298 #B38522 #22B33D #2250B3
square
#B32298 #B38522 #22B33D #2250B3
split-complementary
#B32298 #50B322 #22B385
monochromatic
#4C0E41 #80186C #B32298 #D939BB #E36CCD

Accessibility & contrast

On white

5.83
#B32298 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B32298 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B32298
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B32298#FFFFFF#000000##FFFFFF
##B322981.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28579B
Deuteranopia (green-blind)
#5C6D95
Tritanopia (blue-blind)
#BD2D5D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b32298;
/* rgb */ color: rgb(179, 34, 152);
/* oklch */ color: oklch(53.5% 0.213 337.3);
Tailwind
colors: {
  custom: {
    50: '#ce70b6',
    500: '#b32298',
    950: '#000000',
  },
}
SCSS
$custom: #b32298;
$custom-light: #ce70b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b32298",
  "rgb": {
    "r": 179,
    "g": 34,
    "b": 152
  },
  "hsl": {
    "h": 311.172,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53488,
    "c": 0.2126,
    "h": 337.3
  },
  "luminance": 0.12995
}

Semantic roles & 50–950 ramp

primary
#B32298
secondary
#68C97A
accent
#EB5D3D
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B32298

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

Preview Lab → · Contrast checker → · Palette generator →

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