#B32197#B32197

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

Color values

HEX#B32197
RGBrgb(179, 33, 151)
HSLhsl(312, 69%, 42%)
HSVhsv(312, 82%, 70%)
CMYKcmyk(0%, 81.6%, 15.6%, 29.8%)
CIE-LABlab(42.62, 66.47, -29.73)
CIE-LCHlch(42.62, 72.82, 335.90°)
OKLaboklab(53.38% 0.1968 -0.0809)
OKLCHoklch(53.38% 0.213 337.7)
XYZxyz(24.7207, 12.9082, 30.4618)
Luminance0.1291 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B32197 #21B33D
analogous
#8621B3 #B32197 #B3214E
triadic
#B32197 #97B321 #2197B3
tetradic
#B32197 #B38621 #21B33D #214EB3
square
#B32197 #B38621 #21B33D #214EB3
split-complementary
#B32197 #4EB321 #21B386
monochromatic
#4C0E40 #7F176B #B32197 #DA37BB #E46BCC

Accessibility & contrast

On white

5.86
#B32197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B32197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B32197
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B32197#FFFFFF#000000##FFFFFF
##B321971.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28579A
Deuteranopia (green-blind)
#5C6C94
Tritanopia (blue-blind)
#BD2B5C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b32197;
/* rgb */ color: rgb(179, 33, 151);
/* oklch */ color: oklch(53.4% 0.213 337.7);
Tailwind
colors: {
  custom: {
    50: '#ce6fb6',
    500: '#b32197',
    950: '#000000',
  },
}
SCSS
$custom: #b32197;
$custom-light: #ce6fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#b32197",
  "rgb": {
    "r": 179,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 311.507,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53376,
    "c": 0.21278,
    "h": 337.7
  },
  "luminance": 0.12906
}

Semantic roles & 50–950 ramp

primary
#B32197
secondary
#66CA79
accent
#EC5E3C
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B32197

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

Preview Lab → · Contrast checker → · Palette generator →

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