#862E5C#862E5C

#862E5C is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.4% C 0.130 H 351.3°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#862E5C
RGBrgb(134, 46, 92)
HSLhsl(329, 49%, 35%)
HSVhsv(329, 66%, 53%)
CMYKcmyk(0%, 65.7%, 31.3%, 47.5%)
CIE-LABlab(33.56, 42.29, -7.59)
CIE-LCHlch(33.56, 42.97, 349.83°)
OKLaboklab(44.43% 0.1287 -0.0196)
OKLCHoklch(44.43% 0.13 351.3)
XYZxyz(12.7409, 7.7964, 10.9570)
Luminance0.0780 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862E5C #2E8658
analogous
#842E86 #862E5C #862E30
triadic
#862E5C #5C862E #2E5C86
tetradic
#862E5C #86842E #2E8658 #2E3086
square
#862E5C #86842E #2E8658 #2E3086
split-complementary
#862E5C #30862E #2E8684
monochromatic
#2B0F1D #581E3D #862E5C #B43E7B #CA649A

Accessibility & contrast

On white

8.21
#862E5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#862E5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862E5C
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862E5C#FFFFFF#000000##FFFFFF
##862E5C1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B455D
Deuteranopia (green-blind)
#53555A
Tritanopia (blue-blind)
#902941
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #862e5c;
/* rgb */ color: rgb(134, 46, 92);
/* oklch */ color: oklch(44.4% 0.130 351.3);
Tailwind
colors: {
  custom: {
    50: '#ac6d8a',
    500: '#862e5c',
    950: '#000000',
  },
}
SCSS
$custom: #862e5c;
$custom-light: #ac6d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#862e5c",
  "rgb": {
    "r": 134,
    "g": 46,
    "b": 92
  },
  "hsl": {
    "h": 328.636,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44431,
    "c": 0.1302,
    "h": 351.3
  },
  "luminance": 0.07795
}

Semantic roles & 50–950 ramp

primary
#862E5C
secondary
#5FB186
accent
#D8914F
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #862E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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