#842068#842068

#842068 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.1% C 0.155 H 341.6°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#842068
RGBrgb(132, 32, 104)
HSLhsl(317, 61%, 32%)
HSVhsv(317, 76%, 52%)
CMYKcmyk(0%, 75.8%, 21.2%, 48.2%)
CIE-LABlab(31.67, 49.01, -18.21)
CIE-LCHlch(31.67, 52.29, 339.62°)
OKLaboklab(43.15% 0.1469 -0.049)
OKLCHoklch(43.15% 0.155 341.6)
XYZxyz(12.5313, 6.9393, 13.7735)
Luminance0.0694 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842068 #20843C
analogous
#6E2084 #842068 #842036
triadic
#842068 #688420 #206884
tetradic
#842068 #846E20 #20843C #203684
square
#842068 #846E20 #20843C #203684
split-complementary
#842068 #368420 #20846E
monochromatic
#21081A #531441 #842068 #B52C8F #D34BAD

Accessibility & contrast

On white

8.80
#842068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#842068 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842068
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842068#FFFFFF#000000##FFFFFF
##8420681.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29406A
Deuteranopia (green-blind)
#485066
Tritanopia (blue-blind)
#8C2241
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #842068;
/* rgb */ color: rgb(132, 32, 104);
/* oklch */ color: oklch(43.1% 0.155 341.6);
Tailwind
colors: {
  custom: {
    50: '#ab6693',
    500: '#842068',
    950: '#000000',
  },
}
SCSS
$custom: #842068;
$custom-light: #ab6693;
$custom-dark: #000000;
JSON
{
  "hex": "#842068",
  "rgb": {
    "r": 132,
    "g": 32,
    "b": 104
  },
  "hsl": {
    "h": 316.8,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43145,
    "c": 0.15488,
    "h": 341.6
  },
  "luminance": 0.06938
}

Semantic roles & 50–950 ramp

primary
#842068
secondary
#4AB668
accent
#E47144
background
#FAF6F9
surface
#F5EBF1
border
#CFC6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #842068

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

Preview Lab → · Contrast checker → · Palette generator →

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