#862A74#862A74

#862A74 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.1% C 0.152 H 336.5°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#862A74
RGBrgb(134, 42, 116)
HSLhsl(312, 52%, 35%)
HSVhsv(312, 69%, 53%)
CMYKcmyk(0%, 68.7%, 13.4%, 47.5%)
CIE-LABlab(33.95, 47.55, -22.27)
CIE-LCHlch(33.95, 52.51, 334.91°)
OKLaboklab(45.06% 0.1394 -0.0605)
OKLCHoklch(45.06% 0.152 336.5)
XYZxyz(13.8121, 7.9864, 17.3337)
Luminance0.0799 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862A74 #2A863C
analogous
#6A2A86 #862A74 #862A46
triadic
#862A74 #74862A #2A7486
tetradic
#862A74 #866A2A #2A863C #2A4686
square
#862A74 #866A2A #2A863C #2A4686
split-complementary
#862A74 #46862A #2A866A
monochromatic
#290D23 #571B4C #862A74 #B5399C #CD5EB7

Accessibility & contrast

On white

8.09
#862A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#862A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862A74
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862A74#FFFFFF#000000##FFFFFF
##862A741.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4776
Deuteranopia (green-blind)
#4A5572
Tritanopia (blue-blind)
#8D2F4B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #862a74;
/* rgb */ color: rgb(134, 42, 116);
/* oklch */ color: oklch(45.1% 0.152 336.5);
Tailwind
colors: {
  custom: {
    50: '#ac6b9c',
    500: '#862a74',
    950: '#000000',
  },
}
SCSS
$custom: #862a74;
$custom-light: #ac6b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#862a74",
  "rgb": {
    "r": 134,
    "g": 42,
    "b": 116
  },
  "hsl": {
    "h": 311.739,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4506,
    "c": 0.15198,
    "h": 336.5
  },
  "luminance": 0.07985
}

Semantic roles & 50–950 ramp

primary
#862A74
secondary
#5AB26B
accent
#DC684C
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #862A74

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

Preview Lab → · Contrast checker → · Palette generator →

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