#B32871#B32871

#B32871 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.2% C 0.185 H 353.8°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#B32871
RGBrgb(179, 40, 113)
HSLhsl(328, 63%, 43%)
HSVhsv(328, 78%, 70%)
CMYKcmyk(0%, 77.7%, 36.9%, 29.8%)
CIE-LABlab(41.68, 59.89, -7.85)
CIE-LCHlch(41.68, 60.41, 352.53°)
OKLaboklab(52.17% 0.184 -0.02)
OKLCHoklch(52.17% 0.185 353.8)
XYZxyz(22.3313, 12.2963, 16.8170)
Luminance0.1229 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B32871 #28B36A
analogous
#AF28B3 #B32871 #B3282C
triadic
#B32871 #71B328 #2871B3
tetradic
#B32871 #B3AF28 #28B36A #282CB3
square
#B32871 #B3AF28 #28B36A #282CB3
split-complementary
#B32871 #2CB328 #28B3AF
monochromatic
#4F1232 #811D51 #B32871 #D54390 #E075AD

Accessibility & contrast

On white

6.07
#B32871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#B32871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B32871
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B32871#FFFFFF#000000##FFFFFF
##B328711.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445273
Deuteranopia (green-blind)
#6B6B6E
Tritanopia (blue-blind)
#C11749
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b32871;
/* rgb */ color: rgb(179, 40, 113);
/* oklch */ color: oklch(52.2% 0.185 353.8);
Tailwind
colors: {
  custom: {
    50: '#cf7099',
    500: '#b32871',
    950: '#000000',
  },
}
SCSS
$custom: #b32871;
$custom-light: #cf7099;
$custom-dark: #000000;
JSON
{
  "hex": "#b32871",
  "rgb": {
    "r": 179,
    "g": 40,
    "b": 113
  },
  "hsl": {
    "h": 328.489,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52172,
    "c": 0.18505,
    "h": 353.8
  },
  "luminance": 0.12294
}

Semantic roles & 50–950 ramp

primary
#B32871
secondary
#6FC899
accent
#E69041
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15080E
muted
#837B7E

Preview Lab

Preview with #B32871

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

Preview Lab → · Contrast checker → · Palette generator →

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