#842066#842066

#842066 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.0% C 0.154 H 342.7°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#842066
RGBrgb(132, 32, 102)
HSLhsl(318, 61%, 32%)
HSVhsv(318, 76%, 52%)
CMYKcmyk(0%, 75.8%, 22.7%, 48.2%)
CIE-LABlab(31.58, 48.73, -17.07)
CIE-LCHlch(31.58, 51.63, 340.70°)
OKLaboklab(43.05% 0.1466 -0.0457)
OKLCHoklch(43.05% 0.154 342.7)
XYZxyz(12.4309, 6.8991, 13.2448)
Luminance0.0690 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842066 #20843E
analogous
#702084 #842066 #842034
triadic
#842066 #668420 #206684
tetradic
#842066 #847020 #20843E #203484
square
#842066 #847020 #20843E #203484
split-complementary
#842066 #348420 #208470
monochromatic
#21081A #531440 #842066 #B52C8C #D34BAA

Accessibility & contrast

On white

8.83
#842066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#842066 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842066
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842066#FFFFFF#000000##FFFFFF
##8420661.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4068
Deuteranopia (green-blind)
#495064
Tritanopia (blue-blind)
#8D2140
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #842066;
/* rgb */ color: rgb(132, 32, 102);
/* oklch */ color: oklch(43.0% 0.154 342.7);
Tailwind
colors: {
  custom: {
    50: '#ab6691',
    500: '#842066',
    950: '#000000',
  },
}
SCSS
$custom: #842066;
$custom-light: #ab6691;
$custom-dark: #000000;
JSON
{
  "hex": "#842066",
  "rgb": {
    "r": 132,
    "g": 32,
    "b": 102
  },
  "hsl": {
    "h": 318,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43048,
    "c": 0.15355,
    "h": 342.7
  },
  "luminance": 0.06898
}

Semantic roles & 50–950 ramp

primary
#842066
secondary
#4AB66A
accent
#E47444
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#11060D
muted
#807A7D

Preview Lab

Preview with #842066

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

Preview Lab → · Contrast checker → · Palette generator →

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