#862A68#862A68

#862A68 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.5% C 0.143 H 343.2°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#862A68
RGBrgb(134, 42, 104)
HSLhsl(320, 52%, 35%)
HSVhsv(320, 69%, 53%)
CMYKcmyk(0%, 68.7%, 22.4%, 47.5%)
CIE-LABlab(33.40, 45.71, -15.51)
CIE-LCHlch(33.40, 48.27, 341.26°)
OKLaboklab(44.48% 0.1372 -0.0414)
OKLCHoklch(44.48% 0.143 343.2)
XYZxyz(13.1586, 7.7250, 13.8921)
Luminance0.0772 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862A68 #2A8648
analogous
#762A86 #862A68 #862A3A
triadic
#862A68 #68862A #2A6886
tetradic
#862A68 #86762A #2A8648 #2A3A86
square
#862A68 #86762A #2A8648 #2A3A86
split-complementary
#862A68 #3A862A #2A8676
monochromatic
#290D20 #571B44 #862A68 #B5398C #CD5EA8

Accessibility & contrast

On white

8.25
#862A68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #862A68
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862A68#FFFFFF#000000##FFFFFF
##862A681.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32456A
Deuteranopia (green-blind)
#4E5466
Tritanopia (blue-blind)
#8F2A45
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #862a68;
/* rgb */ color: rgb(134, 42, 104);
/* oklch */ color: oklch(44.5% 0.143 343.2);
Tailwind
colors: {
  custom: {
    50: '#ac6b93',
    500: '#862a68',
    950: '#000000',
  },
}
SCSS
$custom: #862a68;
$custom-light: #ac6b93;
$custom-dark: #000000;
JSON
{
  "hex": "#862a68",
  "rgb": {
    "r": 134,
    "g": 42,
    "b": 104
  },
  "hsl": {
    "h": 319.565,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44477,
    "c": 0.14334,
    "h": 343.2
  },
  "luminance": 0.07724
}

Semantic roles & 50–950 ramp

primary
#862A68
secondary
#5AB276
accent
#DC7B4C
background
#FAF6F9
surface
#F5ECF1
border
#CFC7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #862A68

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

Preview Lab → · Contrast checker → · Palette generator →

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