#862A66#862A66

#862A66 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.4% C 0.142 H 344.4°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#862A66
RGBrgb(134, 42, 102)
HSLhsl(321, 52%, 35%)
HSVhsv(321, 69%, 53%)
CMYKcmyk(0%, 68.7%, 23.9%, 47.5%)
CIE-LABlab(33.32, 45.42, -14.36)
CIE-LCHlch(33.32, 47.64, 342.46°)
OKLaboklab(44.39% 0.1368 -0.0382)
OKLCHoklch(44.39% 0.142 344.4)
XYZxyz(13.0582, 7.6849, 13.3634)
Luminance0.0768 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862A66 #2A864A
analogous
#782A86 #862A66 #862A38
triadic
#862A66 #66862A #2A6686
tetradic
#862A66 #86782A #2A864A #2A3886
square
#862A66 #86782A #2A864A #2A3886
split-complementary
#862A66 #38862A #2A8678
monochromatic
#290D1F #571B43 #862A66 #B53989 #CD5EA6

Accessibility & contrast

On white

8.28
#862A66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#862A66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862A66
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862A66#FFFFFF#000000##FFFFFF
##862A661.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334568
Deuteranopia (green-blind)
#4F5464
Tritanopia (blue-blind)
#8F2944
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #862a66;
/* rgb */ color: rgb(134, 42, 102);
/* oklch */ color: oklch(44.4% 0.142 344.4);
Tailwind
colors: {
  custom: {
    50: '#ac6b91',
    500: '#862a66',
    950: '#000000',
  },
}
SCSS
$custom: #862a66;
$custom-light: #ac6b91;
$custom-dark: #000000;
JSON
{
  "hex": "#862a66",
  "rgb": {
    "r": 134,
    "g": 42,
    "b": 102
  },
  "hsl": {
    "h": 320.87,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44387,
    "c": 0.14202,
    "h": 344.4
  },
  "luminance": 0.07684
}

Semantic roles & 50–950 ramp

primary
#862A66
secondary
#5AB278
accent
#DC7E4C
background
#FAF6F8
surface
#F5ECF0
border
#CFC7CB
text
#11070D
muted
#807A7D

Preview Lab

Preview with #862A66

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

Preview Lab → · Contrast checker → · Palette generator →

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