#882B71#882B71

#882B71 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.3% C 0.150 H 339.1°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#882B71
RGBrgb(136, 43, 113)
HSLhsl(315, 52%, 35%)
HSVhsv(315, 68%, 53%)
CMYKcmyk(0%, 68.4%, 16.9%, 46.7%)
CIE-LABlab(34.30, 47.22, -19.80)
CIE-LCHlch(34.30, 51.20, 337.25°)
OKLaboklab(45.34% 0.1399 -0.0535)
OKLCHoklch(45.34% 0.15 339.1)
XYZxyz(13.9982, 8.1555, 16.4565)
Luminance0.0815 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882B71 #2B8842
analogous
#712B88 #882B71 #882B42
triadic
#882B71 #71882B #2B7188
tetradic
#882B71 #88712B #2B8842 #2B4288
square
#882B71 #88712B #2B8842 #2B4288
split-complementary
#882B71 #42882B #2B8871
monochromatic
#2B0E24 #5A1C4A #882B71 #B63A98 #CD61B2

Accessibility & contrast

On white

7.98
#882B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#882B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882B71
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882B71#FFFFFF#000000##FFFFFF
##882B711.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304773
Deuteranopia (green-blind)
#4D566F
Tritanopia (blue-blind)
#902E4A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #882b71;
/* rgb */ color: rgb(136, 43, 113);
/* oklch */ color: oklch(45.3% 0.150 339.1);
Tailwind
colors: {
  custom: {
    50: '#ae6c9a',
    500: '#882b71',
    950: '#000000',
  },
}
SCSS
$custom: #882b71;
$custom-light: #ae6c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#882b71",
  "rgb": {
    "r": 136,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 314.839,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45335,
    "c": 0.14975,
    "h": 339.1
  },
  "luminance": 0.08154
}

Semantic roles & 50–950 ramp

primary
#882B71
secondary
#5CB371
accent
#DB704C
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #882B71

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

Preview Lab → · Contrast checker → · Palette generator →

#882B71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva