#882277#882277

#882277 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.8% C 0.166 H 335.6°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#882277
RGBrgb(136, 34, 119)
HSLhsl(310, 60%, 33%)
HSVhsv(310, 75%, 53%)
CMYKcmyk(0%, 75%, 12.5%, 46.7%)
CIE-LABlab(33.37, 51.58, -25.04)
CIE-LCHlch(33.37, 57.34, 334.11°)
OKLaboklab(44.76% 0.151 -0.0683)
OKLCHoklch(44.76% 0.166 335.6)
XYZxyz(14.0553, 7.7115, 18.1974)
Luminance0.0771 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882277 #228833
analogous
#662288 #882277 #882244
triadic
#882277 #778822 #227788
tetradic
#882277 #886622 #228833 #224488
square
#882277 #886622 #228833 #224488
split-complementary
#882277 #448822 #228866
monochromatic
#260A21 #57164C #882277 #B92EA2 #D351BE

Accessibility & contrast

On white

8.26
#882277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#882277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882277
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882277#FFFFFF#000000##FFFFFF
##8822771.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234579
Deuteranopia (green-blind)
#475475
Tritanopia (blue-blind)
#8F2A4A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #882277;
/* rgb */ color: rgb(136, 34, 119);
/* oklch */ color: oklch(44.8% 0.166 335.6);
Tailwind
colors: {
  custom: {
    50: '#ae689e',
    500: '#882277',
    950: '#000000',
  },
}
SCSS
$custom: #882277;
$custom-light: #ae689e;
$custom-dark: #000000;
JSON
{
  "hex": "#882277",
  "rgb": {
    "r": 136,
    "g": 34,
    "b": 119
  },
  "hsl": {
    "h": 310,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44755,
    "c": 0.16569,
    "h": 335.6
  },
  "luminance": 0.0771
}

Semantic roles & 50–950 ramp

primary
#882277
secondary
#4FB760
accent
#E35F45
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #882277

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

Preview Lab → · Contrast checker → · Palette generator →

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