#862168#862168

#862168 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.6% C 0.155 H 342.5°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#862168
RGBrgb(134, 33, 104)
HSLhsl(318, 60%, 33%)
HSVhsv(318, 75%, 53%)
CMYKcmyk(0%, 75.4%, 22.4%, 47.5%)
CIE-LABlab(32.16, 49.19, -17.42)
CIE-LCHlch(32.16, 52.19, 340.50°)
OKLaboklab(43.57% 0.1479 -0.0467)
OKLCHoklch(43.57% 0.155 342.5)
XYZxyz(12.8745, 7.1568, 13.7974)
Luminance0.0716 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862168 #21863F
analogous
#722186 #862168 #862135
triadic
#862168 #688621 #216886
tetradic
#862168 #867221 #21863F #213586
square
#862168 #867221 #21863F #213586
split-complementary
#862168 #358621 #218672
monochromatic
#24091C #551542 #862168 #B72D8E #D34EAC

Accessibility & contrast

On white

8.64
#862168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#862168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862168
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862168#FFFFFF#000000##FFFFFF
##8621681.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B416A
Deuteranopia (green-blind)
#4A5266
Tritanopia (blue-blind)
#8F2242
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #862168;
/* rgb */ color: rgb(134, 33, 104);
/* oklch */ color: oklch(43.6% 0.155 342.5);
Tailwind
colors: {
  custom: {
    50: '#ad6793',
    500: '#862168',
    950: '#000000',
  },
}
SCSS
$custom: #862168;
$custom-light: #ad6793;
$custom-dark: #000000;
JSON
{
  "hex": "#862168",
  "rgb": {
    "r": 134,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 317.822,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43572,
    "c": 0.15506,
    "h": 342.5
  },
  "luminance": 0.07156
}

Semantic roles & 50–950 ramp

primary
#862168
secondary
#4CB76C
accent
#E47444
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #862168

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

Preview Lab → · Contrast checker → · Palette generator →

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