#862E71#862E71

#862E71 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.4% C 0.144 H 338.4°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#862E71
RGBrgb(134, 46, 113)
HSLhsl(314, 49%, 35%)
HSVhsv(314, 66%, 53%)
CMYKcmyk(0%, 65.7%, 15.7%, 47.5%)
CIE-LABlab(34.43, 45.36, -19.64)
CIE-LCHlch(34.43, 49.43, 336.59°)
OKLaboklab(45.36% 0.1339 -0.0531)
OKLCHoklch(45.36% 0.144 338.4)
XYZxyz(13.7894, 8.2158, 16.4791)
Luminance0.0822 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862E71 #2E8643
analogous
#6F2E86 #862E71 #862E45
triadic
#862E71 #71862E #2E7186
tetradic
#862E71 #866F2E #2E8643 #2E4586
square
#862E71 #866F2E #2E8643 #2E4586
split-complementary
#862E71 #45862E #2E866F
monochromatic
#2B0F24 #581E4B #862E71 #B43E97 #CA64B2

Accessibility & contrast

On white

7.95
#862E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#862E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862E71
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862E71#FFFFFF#000000##FFFFFF
##862E711.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314873
Deuteranopia (green-blind)
#4D566F
Tritanopia (blue-blind)
#8D314B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #862e71;
/* rgb */ color: rgb(134, 46, 113);
/* oklch */ color: oklch(45.4% 0.144 338.4);
Tailwind
colors: {
  custom: {
    50: '#ac6d9a',
    500: '#862e71',
    950: '#000000',
  },
}
SCSS
$custom: #862e71;
$custom-light: #ac6d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#862e71",
  "rgb": {
    "r": 134,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 314.318,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45359,
    "c": 0.14399,
    "h": 338.4
  },
  "luminance": 0.08215
}

Semantic roles & 50–950 ramp

primary
#862E71
secondary
#5FB173
accent
#D8704F
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #862E71

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

Preview Lab → · Contrast checker → · Palette generator →

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