#842866#842866

#842866 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.8% C 0.143 H 343.3°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#842866
RGBrgb(132, 40, 102)
HSLhsl(320, 53%, 34%)
HSVhsv(320, 70%, 52%)
CMYKcmyk(0%, 69.7%, 22.7%, 48.2%)
CIE-LABlab(32.66, 45.68, -15.39)
CIE-LCHlch(32.66, 48.20, 341.38°)
OKLaboklab(43.84% 0.1372 -0.0411)
OKLCHoklch(43.84% 0.143 343.3)
XYZxyz(12.6732, 7.3837, 13.3256)
Luminance0.0738 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842866 #288446
analogous
#742884 #842866 #842838
triadic
#842866 #668428 #286684
tetradic
#842866 #847428 #288446 #283884
square
#842866 #847428 #288446 #283884
split-complementary
#842866 #388428 #288474
monochromatic
#260C1D #551A42 #842866 #B3368A #CD5AA7

Accessibility & contrast

On white

8.48
#842866 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#842866 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842866
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842866#FFFFFF#000000##FFFFFF
##8428661.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314368
Deuteranopia (green-blind)
#4C5264
Tritanopia (blue-blind)
#8D2843
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #842866;
/* rgb */ color: rgb(132, 40, 102);
/* oklch */ color: oklch(43.8% 0.143 343.3);
Tailwind
colors: {
  custom: {
    50: '#ab6a91',
    500: '#842866',
    950: '#000000',
  },
}
SCSS
$custom: #842866;
$custom-light: #ab6a91;
$custom-dark: #000000;
JSON
{
  "hex": "#842866",
  "rgb": {
    "r": 132,
    "g": 40,
    "b": 102
  },
  "hsl": {
    "h": 319.565,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43841,
    "c": 0.14326,
    "h": 343.3
  },
  "luminance": 0.07382
}

Semantic roles & 50–950 ramp

primary
#842866
secondary
#56B274
accent
#DD7B4B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070D
muted
#7F7A7D

Preview Lab

Preview with #842866

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

Preview Lab → · Contrast checker → · Palette generator →

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