#862162#862162

#862162 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.3% C 0.151 H 345.8°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#862162
RGBrgb(134, 33, 98)
HSLhsl(321, 60%, 33%)
HSVhsv(321, 75%, 53%)
CMYKcmyk(0%, 75.4%, 26.9%, 47.5%)
CIE-LABlab(31.90, 48.37, -13.97)
CIE-LCHlch(31.90, 50.34, 343.89°)
OKLaboklab(43.29% 0.1467 -0.0371)
OKLCHoklch(43.29% 0.151 345.8)
XYZxyz(12.5805, 7.0392, 12.2491)
Luminance0.0704 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862162 #218645
analogous
#772186 #862162 #862130
triadic
#862162 #628621 #216286
tetradic
#862162 #867721 #218645 #213086
square
#862162 #867721 #218645 #213086
split-complementary
#862162 #308621 #218677
monochromatic
#24091A #55153E #862162 #B72D86 #D34EA4

Accessibility & contrast

On white

8.72
#862162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#862162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862162
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862162#FFFFFF#000000##FFFFFF
##8621621.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4064
Deuteranopia (green-blind)
#4C5160
Tritanopia (blue-blind)
#8F1F3E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #862162;
/* rgb */ color: rgb(134, 33, 98);
/* oklch */ color: oklch(43.3% 0.151 345.8);
Tailwind
colors: {
  custom: {
    50: '#ad668e',
    500: '#862162',
    950: '#000000',
  },
}
SCSS
$custom: #862162;
$custom-light: #ad668e;
$custom-dark: #000000;
JSON
{
  "hex": "#862162",
  "rgb": {
    "r": 134,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 321.386,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43292,
    "c": 0.15126,
    "h": 345.8
  },
  "luminance": 0.07038
}

Semantic roles & 50–950 ramp

primary
#862162
secondary
#4CB772
accent
#E47D44
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #862162

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

Preview Lab → · Contrast checker → · Palette generator →

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