#862C71#862C71

#862C71 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.1% C 0.147 H 338.2°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#862C71
RGBrgb(134, 44, 113)
HSLhsl(314, 51%, 35%)
HSVhsv(314, 67%, 53%)
CMYKcmyk(0%, 67.2%, 15.7%, 47.5%)
CIE-LABlab(34.11, 46.23, -20.12)
CIE-LCHlch(34.11, 50.42, 336.48°)
OKLaboklab(45.13% 0.1364 -0.0544)
OKLCHoklch(45.13% 0.147 338.2)
XYZxyz(13.7131, 8.0632, 16.4537)
Luminance0.0806 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862C71 #2C8641
analogous
#6E2C86 #862C71 #862C44
triadic
#862C71 #71862C #2C7186
tetradic
#862C71 #866E2C #2C8641 #2C4486
square
#862C71 #866E2C #2C8641 #2C4486
split-complementary
#862C71 #44862C #2C866E
monochromatic
#2A0E23 #581D4A #862C71 #B43B98 #CB61B2

Accessibility & contrast

On white

8.04
#862C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#862C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862C71
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862C71#FFFFFF#000000##FFFFFF
##862C711.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4773
Deuteranopia (green-blind)
#4C556F
Tritanopia (blue-blind)
#8D304A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #862c71;
/* rgb */ color: rgb(134, 44, 113);
/* oklch */ color: oklch(45.1% 0.147 338.2);
Tailwind
colors: {
  custom: {
    50: '#ac6c9a',
    500: '#862c71',
    950: '#000000',
  },
}
SCSS
$custom: #862c71;
$custom-light: #ac6c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#862c71",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 113
  },
  "hsl": {
    "h": 314,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45129,
    "c": 0.1469,
    "h": 338.2
  },
  "luminance": 0.08062
}

Semantic roles & 50–950 ramp

primary
#862C71
secondary
#5CB170
accent
#DA6E4E
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #862C71

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

Preview Lab → · Contrast checker → · Palette generator →

#862C71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva