#862D74#862D74

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

Color values

HEX#862D74
RGBrgb(134, 45, 116)
HSLhsl(312, 50%, 35%)
HSVhsv(312, 66%, 53%)
CMYKcmyk(0%, 66.4%, 13.4%, 47.5%)
CIE-LABlab(34.41, 46.28, -21.56)
CIE-LCHlch(34.41, 51.06, 335.03°)
OKLaboklab(45.39% 0.1357 -0.0585)
OKLCHoklch(45.39% 0.148 336.7)
XYZxyz(13.9225, 8.2072, 17.3705)
Luminance0.0821 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862D74 #2D863F
analogous
#6C2D86 #862D74 #862D47
triadic
#862D74 #74862D #2D7486
tetradic
#862D74 #866C2D #2D863F #2D4786
square
#862D74 #866C2D #2D863F #2D4786
split-complementary
#862D74 #47862D #2D866C
monochromatic
#2A0E25 #581E4C #862D74 #B43C9C #CB63B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##862D74#FFFFFF#000000##FFFFFF
##862D741.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)
#2F4876
Deuteranopia (green-blind)
#4B5672
Tritanopia (blue-blind)
#8D324C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #862d74;
/* rgb */ color: rgb(134, 45, 116);
/* oklch */ color: oklch(45.4% 0.148 336.7);
Tailwind
colors: {
  custom: {
    50: '#ac6d9c',
    500: '#862d74',
    950: '#000000',
  },
}
SCSS
$custom: #862d74;
$custom-light: #ac6d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#862d74",
  "rgb": {
    "r": 134,
    "g": 45,
    "b": 116
  },
  "hsl": {
    "h": 312.135,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45392,
    "c": 0.14774,
    "h": 336.7
  },
  "luminance": 0.08206
}

Semantic roles & 50–950 ramp

primary
#862D74
secondary
#5EB16F
accent
#D96B4F
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #862D74

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

Preview Lab → · Contrast checker → · Palette generator →

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