#862D5F#862D5F

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

Color values

HEX#862D5F
RGBrgb(134, 45, 95)
HSLhsl(326, 50%, 35%)
HSVhsv(326, 66%, 53%)
CMYKcmyk(0%, 66.4%, 29.1%, 47.5%)
CIE-LABlab(33.50, 43.14, -9.59)
CIE-LCHlch(33.50, 44.20, 347.47°)
OKLaboklab(44.43% 0.131 -0.0251)
OKLCHoklch(44.43% 0.133 349.2)
XYZxyz(12.8360, 7.7727, 11.6485)
Luminance0.0777 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862D5F #2D8654
analogous
#802D86 #862D5F #862D32
triadic
#862D5F #5F862D #2D5F86
tetradic
#862D5F #86802D #2D8654 #2D3286
square
#862D5F #86802D #2D8654 #2D3286
split-complementary
#862D5F #32862D #2D8680
monochromatic
#2A0E1E #581E3F #862D5F #B43C7F #CB639D

Accessibility & contrast

On white

8.22
#862D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#862D5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862D5F
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862D5F#FFFFFF#000000##FFFFFF
##862D5F1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394560
Deuteranopia (green-blind)
#52555D
Tritanopia (blue-blind)
#902942
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #862d5f;
/* rgb */ color: rgb(134, 45, 95);
/* oklch */ color: oklch(44.4% 0.133 349.2);
Tailwind
colors: {
  custom: {
    50: '#ac6c8c',
    500: '#862d5f',
    950: '#000000',
  },
}
SCSS
$custom: #862d5f;
$custom-light: #ac6c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#862d5f",
  "rgb": {
    "r": 134,
    "g": 45,
    "b": 95
  },
  "hsl": {
    "h": 326.292,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44431,
    "c": 0.13336,
    "h": 349.2
  },
  "luminance": 0.07771
}

Semantic roles & 50–950 ramp

primary
#862D5F
secondary
#5EB182
accent
#D98B4F
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #862D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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