#862D73#862D73

#862D73 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.3% C 0.147 H 337.2°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#862D73
RGBrgb(134, 45, 115)
HSLhsl(313, 50%, 35%)
HSVhsv(313, 66%, 53%)
CMYKcmyk(0%, 66.4%, 14.2%, 47.5%)
CIE-LABlab(34.36, 46.12, -21.00)
CIE-LCHlch(34.36, 50.68, 335.52°)
OKLaboklab(45.34% 0.1355 -0.0569)
OKLCHoklch(45.34% 0.147 337.2)
XYZxyz(13.8646, 8.1841, 17.0658)
Luminance0.0818 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862D73 #2D8640
analogous
#6D2D86 #862D73 #862D46
triadic
#862D73 #73862D #2D7386
tetradic
#862D73 #866D2D #2D8640 #2D4686
square
#862D73 #866D2D #2D8640 #2D4686
split-complementary
#862D73 #46862D #2D866D
monochromatic
#2A0E24 #581E4C #862D73 #B43C9A #CB63B4

Accessibility & contrast

On white

7.96
#862D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #862D73
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862D73#FFFFFF#000000##FFFFFF
##862D731.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4875
Deuteranopia (green-blind)
#4B5671
Tritanopia (blue-blind)
#8D314C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #862d73;
/* rgb */ color: rgb(134, 45, 115);
/* oklch */ color: oklch(45.3% 0.147 337.2);
Tailwind
colors: {
  custom: {
    50: '#ac6d9b',
    500: '#862d73',
    950: '#000000',
  },
}
SCSS
$custom: #862d73;
$custom-light: #ac6d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#862d73",
  "rgb": {
    "r": 134,
    "g": 45,
    "b": 115
  },
  "hsl": {
    "h": 312.809,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45342,
    "c": 0.14697,
    "h": 337.2
  },
  "luminance": 0.08183
}

Semantic roles & 50–950 ramp

primary
#862D73
secondary
#5EB170
accent
#D96C4F
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #862D73

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

Preview Lab → · Contrast checker → · Palette generator →

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