#862A71#862A71

#862A71 is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.9% C 0.150 H 338.1°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#862A71
RGBrgb(134, 42, 113)
HSLhsl(314, 52%, 35%)
HSVhsv(314, 69%, 53%)
CMYKcmyk(0%, 68.7%, 15.7%, 47.5%)
CIE-LABlab(33.81, 47.08, -20.60)
CIE-LCHlch(33.81, 51.38, 336.37°)
OKLaboklab(44.91% 0.139 -0.0557)
OKLCHoklch(44.91% 0.15 338.1)
XYZxyz(13.6404, 7.9177, 16.4295)
Luminance0.0792 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862A71 #2A863F
analogous
#6D2A86 #862A71 #862A43
triadic
#862A71 #71862A #2A7186
tetradic
#862A71 #866D2A #2A863F #2A4386
square
#862A71 #866D2A #2A863F #2A4386
split-complementary
#862A71 #43862A #2A866D
monochromatic
#290D22 #571B4A #862A71 #B53998 #CD5EB3

Accessibility & contrast

On white

8.13
#862A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#862A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862A71
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862A71#FFFFFF#000000##FFFFFF
##862A711.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4673
Deuteranopia (green-blind)
#4B556F
Tritanopia (blue-blind)
#8D2E49
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #862a71;
/* rgb */ color: rgb(134, 42, 113);
/* oklch */ color: oklch(44.9% 0.150 338.1);
Tailwind
colors: {
  custom: {
    50: '#ac6b9a',
    500: '#862a71',
    950: '#000000',
  },
}
SCSS
$custom: #862a71;
$custom-light: #ac6b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#862a71",
  "rgb": {
    "r": 134,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 313.696,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44908,
    "c": 0.14973,
    "h": 338.1
  },
  "luminance": 0.07917
}

Semantic roles & 50–950 ramp

primary
#862A71
secondary
#5AB26E
accent
#DC6D4C
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #862A71

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

Preview Lab → · Contrast checker → · Palette generator →

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