#B32297#B32297

#B32297 is a mid, highly saturated pink. Relative luminance 0.130; OKLCH L 53.4% C 0.212 H 337.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#B32297
RGBrgb(179, 34, 151)
HSLhsl(312, 68%, 42%)
HSVhsv(312, 81%, 70%)
CMYKcmyk(0%, 81%, 15.6%, 29.8%)
CIE-LABlab(42.71, 66.22, -29.60)
CIE-LCHlch(42.71, 72.54, 335.92°)
OKLaboklab(53.44% 0.1961 -0.0805)
OKLCHoklch(53.44% 0.212 337.7)
XYZxyz(24.7489, 12.9646, 30.4712)
Luminance0.1296 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B32297 #22B33E
analogous
#8722B3 #B32297 #B3224F
triadic
#B32297 #97B322 #2297B3
tetradic
#B32297 #B38722 #22B33E #224FB3
square
#B32297 #B38722 #22B33E #224FB3
split-complementary
#B32297 #4FB322 #22B387
monochromatic
#4C0E40 #80186C #B32297 #D939BA #E36CCC

Accessibility & contrast

On white

5.85
#B32297 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#B32297 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B32297
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B32297#FFFFFF#000000##FFFFFF
##B322971.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29579A
Deuteranopia (green-blind)
#5D6D94
Tritanopia (blue-blind)
#BD2C5C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b32297;
/* rgb */ color: rgb(179, 34, 151);
/* oklch */ color: oklch(53.4% 0.212 337.7);
Tailwind
colors: {
  custom: {
    50: '#ce70b6',
    500: '#b32297',
    950: '#000000',
  },
}
SCSS
$custom: #b32297;
$custom-light: #ce70b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b32297",
  "rgb": {
    "r": 179,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 311.586,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53437,
    "c": 0.21195,
    "h": 337.7
  },
  "luminance": 0.12962
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B32297

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

Preview Lab → · Contrast checker → · Palette generator →

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