#882172#882172

#882172 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.4% C 0.163 H 338.1°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#882172
RGBrgb(136, 33, 114)
HSLhsl(313, 61%, 33%)
HSVhsv(313, 76%, 53%)
CMYKcmyk(0%, 75.7%, 16.2%, 46.7%)
CIE-LABlab(33.00, 51.16, -22.46)
CIE-LCHlch(33.00, 55.88, 336.30°)
OKLaboklab(44.41% 0.1514 -0.0609)
OKLCHoklch(44.41% 0.163 338.1)
XYZxyz(13.7348, 7.5382, 16.6480)
Luminance0.0754 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882172 #218837
analogous
#6B2188 #882172 #88213E
triadic
#882172 #728821 #217288
tetradic
#882172 #886B21 #218837 #213E88
square
#882172 #886B21 #218837 #213E88
split-complementary
#882172 #3E8821 #21886B
monochromatic
#25091F #571549 #882172 #B92D9B #D44FB8

Accessibility & contrast

On white

8.38
#882172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#882172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882172
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882172#FFFFFF#000000##FFFFFF
##8821721.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264374
Deuteranopia (green-blind)
#485370
Tritanopia (blue-blind)
#902647
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #882172;
/* rgb */ color: rgb(136, 33, 114);
/* oklch */ color: oklch(44.4% 0.163 338.1);
Tailwind
colors: {
  custom: {
    50: '#ae679b',
    500: '#882172',
    950: '#000000',
  },
}
SCSS
$custom: #882172;
$custom-light: #ae679b;
$custom-dark: #000000;
JSON
{
  "hex": "#882172",
  "rgb": {
    "r": 136,
    "g": 33,
    "b": 114
  },
  "hsl": {
    "h": 312.816,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44405,
    "c": 0.16322,
    "h": 338.1
  },
  "luminance": 0.07537
}

Semantic roles & 50–950 ramp

primary
#882172
secondary
#4DB864
accent
#E46644
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #882172

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

Preview Lab → · Contrast checker → · Palette generator →

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