#862F73#862F73

#862F73 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.6% C 0.144 H 337.3°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#862F73
RGBrgb(134, 47, 115)
HSLhsl(313, 48%, 35%)
HSVhsv(313, 65%, 53%)
CMYKcmyk(0%, 64.9%, 14.2%, 47.5%)
CIE-LABlab(34.68, 45.24, -20.51)
CIE-LCHlch(34.68, 49.67, 335.62°)
OKLaboklab(45.58% 0.1329 -0.0555)
OKLCHoklch(45.58% 0.144 337.3)
XYZxyz(13.9427, 8.3403, 17.0918)
Luminance0.0834 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862F73 #2F8642
analogous
#6D2F86 #862F73 #862F48
triadic
#862F73 #73862F #2F7386
tetradic
#862F73 #866D2F #2F8642 #2F4886
square
#862F73 #866D2F #2F8642 #2F4886
split-complementary
#862F73 #48862F #2F866D
monochromatic
#2B0F25 #591F4C #862F73 #B33F9A #C966B4

Accessibility & contrast

On white

7.87
#862F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#862F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862F73
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862F73#FFFFFF#000000##FFFFFF
##862F731.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314975
Deuteranopia (green-blind)
#4C5671
Tritanopia (blue-blind)
#8D334C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #862f73;
/* rgb */ color: rgb(134, 47, 115);
/* oklch */ color: oklch(45.6% 0.144 337.3);
Tailwind
colors: {
  custom: {
    50: '#ac6e9b',
    500: '#862f73',
    950: '#000000',
  },
}
SCSS
$custom: #862f73;
$custom-light: #ac6e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#862f73",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 115
  },
  "hsl": {
    "h": 313.103,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45575,
    "c": 0.14402,
    "h": 337.3
  },
  "luminance": 0.08339
}

Semantic roles & 50–950 ramp

primary
#862F73
secondary
#60B072
accent
#D86E50
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #862F73

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

Preview Lab → · Contrast checker → · Palette generator →

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