#882040#882040

#882040 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.140 H 7.4°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#882040
RGBrgb(136, 32, 64)
HSLhsl(342, 62%, 33%)
HSVhsv(342, 76%, 53%)
CMYKcmyk(0%, 76.5%, 52.9%, 46.7%)
CIE-LABlab(30.97, 45.53, 6.96)
CIE-LCHlch(30.97, 46.06, 8.69°)
OKLaboklab(42.3% 0.1387 0.018)
OKLCHoklch(42.3% 0.14 7.4)
XYZxyz(11.5963, 6.6390, 5.5203)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882040 #208868
analogous
#882074 #882040 #883420
triadic
#882040 #408820 #204088
tetradic
#882040 #748820 #208868 #342088
square
#882040 #748820 #208868 #342088
split-complementary
#882040 #208834 #207488
monochromatic
#250911 #561429 #882040 #BA2C57 #D54D77

Accessibility & contrast

On white

9.02
#882040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#882040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882040
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882040#FFFFFF#000000##FFFFFF
##8820401.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3C41
Deuteranopia (green-blind)
#55503D
Tritanopia (blue-blind)
#95062D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #882040;
/* rgb */ color: rgb(136, 32, 64);
/* oklch */ color: oklch(42.3% 0.140 7.4);
Tailwind
colors: {
  custom: {
    50: '#b06574',
    500: '#882040',
    950: '#000000',
  },
}
SCSS
$custom: #882040;
$custom-light: #b06574;
$custom-dark: #000000;
JSON
{
  "hex": "#882040",
  "rgb": {
    "r": 136,
    "g": 32,
    "b": 64
  },
  "hsl": {
    "h": 341.538,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42298,
    "c": 0.1399,
    "h": 7.4
  },
  "luminance": 0.06637
}

Semantic roles & 50–950 ramp

primary
#882040
secondary
#4CB897
accent
#E5B343
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #882040

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

Preview Lab → · Contrast checker → · Palette generator →

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