#862774#862774

#862774 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.7% C 0.156 H 336.4°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#862774
RGBrgb(134, 39, 116)
HSLhsl(311, 55%, 34%)
HSVhsv(311, 71%, 53%)
CMYKcmyk(0%, 70.9%, 13.4%, 47.5%)
CIE-LABlab(33.52, 48.76, -22.94)
CIE-LCHlch(33.52, 53.88, 334.80°)
OKLaboklab(44.75% 0.143 -0.0624)
OKLCHoklch(44.75% 0.156 336.4)
XYZxyz(13.7096, 7.7815, 17.2996)
Luminance0.0778 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862774 #278639
analogous
#692786 #862774 #862745
triadic
#862774 #748627 #277486
tetradic
#862774 #866927 #278639 #274586
square
#862774 #866927 #278639 #274586
split-complementary
#862774 #458627 #278669
monochromatic
#270B22 #57194B #862774 #B5359D #CF59B8

Accessibility & contrast

On white

8.22
#862774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#862774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862774
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862774#FFFFFF#000000##FFFFFF
##8627741.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294676
Deuteranopia (green-blind)
#485472
Tritanopia (blue-blind)
#8D2D4A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #862774;
/* rgb */ color: rgb(134, 39, 116);
/* oklch */ color: oklch(44.7% 0.156 336.4);
Tailwind
colors: {
  custom: {
    50: '#ac6a9c',
    500: '#862774',
    950: '#000000',
  },
}
SCSS
$custom: #862774;
$custom-light: #ac6a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#862774",
  "rgb": {
    "r": 134,
    "g": 39,
    "b": 116
  },
  "hsl": {
    "h": 311.368,
    "s": 54.913,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44747,
    "c": 0.15602,
    "h": 336.4
  },
  "luminance": 0.0778
}

Semantic roles & 50–950 ramp

primary
#862774
secondary
#55B467
accent
#DE664A
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #862774

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

Preview Lab → · Contrast checker → · Palette generator →

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