#862F72#862F72

#862F72 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.5% C 0.143 H 337.9°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#862F72
RGBrgb(134, 47, 114)
HSLhsl(314, 48%, 35%)
HSVhsv(314, 65%, 53%)
CMYKcmyk(0%, 64.9%, 14.9%, 47.5%)
CIE-LABlab(34.64, 45.08, -19.95)
CIE-LCHlch(34.64, 49.30, 336.13°)
OKLaboklab(45.53% 0.1327 -0.054)
OKLCHoklch(45.53% 0.143 337.9)
XYZxyz(13.8855, 8.3174, 16.7904)
Luminance0.0832 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862F72 #2F8643
analogous
#6E2F86 #862F72 #862F46
triadic
#862F72 #72862F #2F7286
tetradic
#862F72 #866E2F #2F8643 #2F4686
square
#862F72 #866E2F #2F8643 #2F4686
split-complementary
#862F72 #46862F #2F866E
monochromatic
#2B0F25 #591F4B #862F72 #B33F99 #C966B3

Accessibility & contrast

On white

7.89
#862F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#862F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862F72
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862F72#FFFFFF#000000##FFFFFF
##862F721.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324974
Deuteranopia (green-blind)
#4D5670
Tritanopia (blue-blind)
#8D334C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #862f72;
/* rgb */ color: rgb(134, 47, 114);
/* oklch */ color: oklch(45.5% 0.143 337.9);
Tailwind
colors: {
  custom: {
    50: '#ac6e9a',
    500: '#862f72',
    950: '#000000',
  },
}
SCSS
$custom: #862f72;
$custom-light: #ac6e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#862f72",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 114
  },
  "hsl": {
    "h": 313.793,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45525,
    "c": 0.14326,
    "h": 337.9
  },
  "luminance": 0.08316
}

Semantic roles & 50–950 ramp

primary
#862F72
secondary
#60B073
accent
#D86F50
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #862F72

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

Preview Lab → · Contrast checker → · Palette generator →

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